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

FindAndModify with explain attaches dbVersion when using shard version protocol

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2025-03-17

      CAR is working on shards authoritative project, specifically database metadata to be authoritative on shards. This makes the DB version protocol more strict. The testing discovered that the findAndModify with explain attaches DB version when using the shard version protocol. This ticket fixes that, DbVersion should be attached only when the collection is unsharded.

            Assignee:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Reporter:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: