[SERVER-67375] Make findAndModify updateShardKey work with FLE2 Created: 17/Jun/22 Updated: 29/Oct/23 Resolved: 16/Aug/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Queryable Encryption |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Shreyas Kalyan | Assignee: | Shreyas Kalyan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | Security 2022-07-11, Security 2022-07-25, Security 2022-08-08, Security 2022-08-22 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 16/Aug/22 ] |
|
Author: {'name': 'Shreyas Kalyan', 'email': 'shreyas.kalyan@mongodb.com', 'username': 'shreyaskal'}Message: |