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.

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • None
    • None
    • Sharding NYC
    • Fully Compatible
    • Sharding NYC 2023-03-06, Sharding NYC 2023-03-20, Sharding NYC 2023-04-03

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: