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

analyze_shard_key.js Can Throw NamespaceNotFound with Config Transitions

    • Type: Icon: Bug Bug
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • ALL
    • QO 2024-07-08, QO 2024-07-22
    • 0

      It's possible that when running analyzeShardKey in a suite with config transitions that the collection being analyzed is dropped out from under analyzeShardKey if its db primary was the config shard. This will result in a NamespaceNotFound error to be thrown here and fail the test.

      Consider adding NamespaceNotFound to the list of acceptable errors if running in a config transition suite.

            Assignee:
            samuel.mercier@mongodb.com Sam Mercier
            Reporter:
            brett.nawrocki@mongodb.com Brett Nawrocki
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: