Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-71915

In catalog shard mode, there is a race between Query Analysis Sampler and Query Analysis Coordinator.

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • 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.

            Assignee:
            wenqin.ye@mongodb.com Wenqin Ye
            Reporter:
            kshitij.gupta@mongodb.com Kshitij Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: