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

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

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

      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 Unassigned
            Reporter:
            jason.zhang@mongodb.com Jason Zhang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: