query_shape_hash_stability override skips mirroring for unsupported commands in multiversion suites

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • ALL
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-122559 moved the isSupportedCommand check before the withPreOverrideRunCommand block in query_shape_hash_stability.js. This prevents non-query commands (createIndex, insert) from being mirrored to cluster 1 in MultiShardedClusterFixture. When explains run on cluster 1's shards, indexes/data are missing, causing BadValue and IndexNotFound errors.

      Fix: move the check inside withPreOverrideRunCommand, after mirroring but before explain.

            Assignee:
            Aditya Deshpande
            Reporter:
            Aditya Deshpande
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: