-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Sharding NYC
-
Fully Compatible
-
Sharding NYC 2023-03-06, Sharding NYC 2023-03-20, Sharding NYC 2023-04-03
Query analyses sampler is only supposed to run on the shard servers and it refreshes configurations which adds samplers, while query analysis coordinator is only supposed to run on the config server and on startup checks that there aren't any samplers. In catalog shard mode, there is a race where the sampler adds samplers before the coordinator startup causing the invariant check to fail. As an unblocker, this failure was avoided by conditioning the check on featureFlagCatalogShard being turned off.
We should figure out a long term solution for this.
- related to
-
SERVER-71818 Use the new cluster role class in the codebase
- Closed