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

Include the original query in conjunction with the target document in _clusterWriteWithoutShardKey

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Sharding NYC 2023-04-03

    Description

      If a positional operator ($) is used in the original query to perform an update to an element in an array, the array field must appear within the original query document, so we must include it in our targeted query in _clusterWriteWithoutShardKey if it was originally provided.

      Attachments

        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: