druid/extensions-core
Rishabh Singh 8c802e4c9b
Relocating Table Schema Building: Shifting from Brokers to Coordinator for Improved Efficiency (#14985)
In the current design, brokers query both data nodes and tasks to fetch the schema of the segments they serve. The table schema is then constructed by combining the schemas of all segments within a datasource. However, this approach leads to a high number of segment metadata queries during broker startup, resulting in slow startup times and various issues outlined in the design proposal.

To address these challenges, we propose centralizing the table schema management process within the coordinator. This change is the first step in that direction. In the new arrangement, the coordinator will take on the responsibility of querying both data nodes and tasks to fetch segment schema and subsequently building the table schema. Brokers will now simply query the Coordinator to fetch table schema. Importantly, brokers will still retain the capability to build table schemas if the need arises, ensuring both flexibility and resilience.
2023-11-04 19:33:25 +05:30
..
avro-extensions Prepare master for Druid 29 (#15121) 2023-10-11 10:33:45 +05:30
azure-extensions Add system fields to input sources. (#15276) 2023-11-02 10:31:28 -07:00
datasketches Relocating Table Schema Building: Shifting from Brokers to Coordinator for Improved Efficiency (#14985) 2023-11-04 19:33:25 +05:30
druid-aws-rds-extensions Prepare master for Druid 29 (#15121) 2023-10-11 10:33:45 +05:30
druid-basic-security Prepare master for Druid 29 (#15121) 2023-10-11 10:33:45 +05:30
druid-bloom-filter Relocating Table Schema Building: Shifting from Brokers to Coordinator for Improved Efficiency (#14985) 2023-11-04 19:33:25 +05:30
druid-catalog Prepare master for Druid 29 (#15121) 2023-10-11 10:33:45 +05:30
druid-kerberos Prepare master for Druid 29 (#15121) 2023-10-11 10:33:45 +05:30
druid-pac4j Prepare master for Druid 29 (#15121) 2023-10-11 10:33:45 +05:30
druid-ranger-security Prepare master for Druid 29 (#15121) 2023-10-11 10:33:45 +05:30
ec2-extensions Prepare master for Druid 29 (#15121) 2023-10-11 10:33:45 +05:30
google-extensions Add system fields to input sources. (#15276) 2023-11-02 10:31:28 -07:00
hdfs-storage Add system fields to input sources. (#15276) 2023-11-02 10:31:28 -07:00
histogram Relocating Table Schema Building: Shifting from Brokers to Coordinator for Improved Efficiency (#14985) 2023-11-04 19:33:25 +05:30
kafka-extraction-namespace Prepare master for Druid 29 (#15121) 2023-10-11 10:33:45 +05:30
kafka-indexing-service Prepare master for Druid 29 (#15121) 2023-10-11 10:33:45 +05:30
kinesis-indexing-service Prepare master for Druid 29 (#15121) 2023-10-11 10:33:45 +05:30
kubernetes-extensions Prepare master for Druid 29 (#15121) 2023-10-11 10:33:45 +05:30
lookups-cached-global Prepare master for Druid 29 (#15121) 2023-10-11 10:33:45 +05:30
lookups-cached-single Prepare master for Druid 29 (#15121) 2023-10-11 10:33:45 +05:30
multi-stage-query Relocating Table Schema Building: Shifting from Brokers to Coordinator for Improved Efficiency (#14985) 2023-11-04 19:33:25 +05:30
mysql-metadata-storage Prepare master for Druid 29 (#15121) 2023-10-11 10:33:45 +05:30
orc-extensions Prepare master for Druid 29 (#15121) 2023-10-11 10:33:45 +05:30
parquet-extensions Fix json inputs for drill windowing tests (#15148) 2023-10-19 14:02:41 +05:30
postgresql-metadata-storage Prepare master for Druid 29 (#15121) 2023-10-11 10:33:45 +05:30
protobuf-extensions Prepare master for Druid 29 (#15121) 2023-10-11 10:33:45 +05:30
s3-extensions Add system fields to input sources. (#15276) 2023-11-02 10:31:28 -07:00
simple-client-sslcontext Prepare master for Druid 29 (#15121) 2023-10-11 10:33:45 +05:30
stats Relocating Table Schema Building: Shifting from Brokers to Coordinator for Improved Efficiency (#14985) 2023-11-04 19:33:25 +05:30
testing-tools Prepare master for Druid 29 (#15121) 2023-10-11 10:33:45 +05:30