Validate command does not check if a received shard version is stale before proceeding

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • ALL
    • CAR Team 2024-06-10
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When a mongod received a validate command request from mongos, it does not check the shard version before executing. Thus after a data placement change, a mongos could send a validate request to a shard with a stale shard version which will successfully execute on the wrong shard.

        1. repro.js
          1.0 kB
          Jason Zhang

              Assignee:
              Unassigned
              Reporter:
              Jason Zhang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: