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

Make findAndModify updateShardKey work with FLE2

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: Queryable Encryption
    • None
    • Fully Compatible
    • Security 2022-07-11, Security 2022-07-25, Security 2022-08-08, Security 2022-08-22

      Currently, when mongos receives a findAndModify command, it occasionally attempts to update the shardKey on the collection. When it attempts to update the findAndModify command, it splits the command into a delete and an insert. However, the encryptionInformation struct is not propagated to the new delete and insert command. We should find a way to pass the relevant information from the encryptionInformation struct into the findAndModify command.

      This will also affect update.

            Assignee:
            shreyas.kalyan@mongodb.com Shreyas Kalyan
            Reporter:
            shreyas.kalyan@mongodb.com Shreyas Kalyan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: