analyze_shard_key.js Can Throw NamespaceNotFound with Config Transitions

XMLWordPrintableJSON

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

      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:
              Sam Mercier
              Reporter:
              Brett Nawrocki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: