[SERVER-63373] Wrap server-side rewrite in a transaction Created: 07/Feb/22  Updated: 14/Mar/22  Resolved: 14/Mar/22

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

Type: Task Priority: Major - P3
Reporter: Davis Haupt (Inactive) Assignee: Davis Haupt (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-63293 Construct a set of binary tags given ... Closed
depends on SERVER-63294 Server-side rewrite for match express... Closed
is depended on by SERVER-63378 Add server-side rewrite to mongos com... Closed
Duplicate
duplicates SERVER-64356 Server-side rewrite for find command ... Closed
Sprint: QO 2022-03-07, QO 2022-03-21
Participants:

 Description   

All queries against the encrypted state collections as well as the user collection must happen inside of a transaction in order to ensure correct results. We should use the internal transaction API developed in PM-2210 to start a transaction if the user has not already started one. All logic surrounding query rewriting done for SERVER-63294 as well as the execution of the rewritten user query should happen inside of this transaction.

Jstests against replica sets for find() commands over encrypted fields can now be written, too.



 Comments   
Comment by Davis Haupt (Inactive) [ 14/Mar/22 ]

Due to the architecture of the FLE CRUD work, this will be done as part of adding the rewrite to each command. This ticket will be closed as a duplicate with SERVER-64356.

Generated at Thu Feb 08 05:57:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.