[SERVER-72768] Support single-op bulkWrite for QE Created: 11/Jan/23  Updated: 29/Oct/23  Resolved: 31/Jul/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Lingzhi Deng Assignee: Frederic Vitzikam
Resolution: Fixed Votes: 0
Labels: milestone-1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-72765 Support update statement in bulkWrite... Closed
depends on SERVER-72766 Support delete statement in bulkWrite... Closed
is depended on by SERVER-77497 Support BulkWrite with FLE2 on mongos Closed
Problem/Incident
Related
is related to SERVER-72769 Support batched insert-only bulkWrite... Closed
Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-05-29, Repl 2023-06-12, Repl 2023-06-26, Repl 2023-07-10, Repl 2023-08-07
Participants:
Linked BF Score: 165

 Description   

Queryable Encryption doesn’t currently support batched operations, we will only support single-op bulkWrite (update or delete) or insert-only batched bulkWrite (SERVER-66315) for QE.

 

This task is to support single op bulkWrite that contains only a single update or delete operation.



 Comments   
Comment by Githook User [ 27/Jul/23 ]

Author:

{'name': 'Frederic Vitzikam', 'email': 'frederic.vitzikam@mongodb.com', 'username': 'fredvitz'}

Message: SERVER-72768 Support single-op bulkWrite for QE
Branch: master
https://github.com/mongodb/mongo/commit/7b655194247a5894199dbaaf90e6668a6236eb81

Comment by Githook User [ 10/Jul/23 ]

Author:

{'name': 'Frederic Vitzikam', 'email': 'frederic.vitzikam@mongodb.com', 'username': 'fredvitz'}

Message: Revert "SERVER-72768 Support single-op bulkWrite for QE"

This reverts commit a735a0cd86b7be230e5921b80a281f501767944a.
Branch: master
https://github.com/mongodb/mongo/commit/2a15f63049b93a6ef15c3773bfaacc6aa5a46054

Comment by Githook User [ 07/Jul/23 ]

Author:

{'name': 'Frederic Vitzikam', 'email': 'frederic.vitzikam@mongodb.com', 'username': 'fredvitz'}

Message: SERVER-72768 Support single-op bulkWrite for QE
Branch: master
https://github.com/mongodb/mongo/commit/a735a0cd86b7be230e5921b80a281f501767944a

Comment by Frederic Vitzikam [ 01/Jun/23 ]

Some care will be needed for this in the case of FLE + retryable write, similar to https://jira.mongodb.org/browse/SERVER-72769

Comment by Mark Benvenuto [ 18/Apr/23 ]

When QE is in use in a bulk write, make sure OpDebug::shouldOmitDiagnosticInformation is set to true so QE bulkwrites are not logged to the slow query log.

Generated at Thu Feb 08 06:22:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.