[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: |
|
||||||||||||||||||||||||
| 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 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 |