[SERVER-40871] [FLE] multi/upsert are always returned as false Created: 27/Apr/19  Updated: 29/Oct/23  Resolved: 14/May/19

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 4.1.12

Type: Bug Priority: Major - P3
Reporter: Kevin Albertson Assignee: Ted Tuckman
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-39277 [FLE] Implement translation for repla... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:

Repro here.

Sprint: Query 2019-05-20
Participants:

 Description   

The multi and upsert fields are always returned by mongocryptd as false, even if they are sent and explicitly set to true.



 Comments   
Comment by Githook User [ 14/May/19 ]

Author:

{'name': 'Ted Tuckman', 'username': 'TedTuckman', 'email': 'ted.tuckman@mongodb.com'}

Message: SERVER-40871 Preserve UpdateOpEntry fields during update translation
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/0886ff2d597cfe874e095f64697620ec0c46efe4

Comment by Nicholas Zolnierz [ 29/Apr/19 ]

Thanks kevin.albertson, this looks like a bug in our serialization for updates (we build an UpdateOpEntry out of the query and update, dropping the other options ).

Generated at Thu Feb 08 04:56:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.