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

Fix shard key update check in update_stage.cpp to exclude _id queries

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 7.0.0-rc0
    • None
    • None
    • Fully Compatible
    • Sharding NYC 2023-02-20, Sharding NYC 2023-03-06
    • 160

    Description

      Documented here: https://github.com/10gen/mongo/pull/10271#discussion_r1097928283

      Replacement updates currently have logic that use the replacement doc for targeting, which would result in _id query replacement updates containing a valid shard version, bypassing the feature guard in update_stage.cpp

      Attachments

        Issue Links

          Activity

            People

              jason.zhang@mongodb.com Jason Zhang
              jason.zhang@mongodb.com Jason Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: