[SERVER-74865] Reduce usage of transactions in QE server rewrite Created: 14/Mar/23  Updated: 29/Oct/23  Resolved: 24/Mar/23

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

Type: Task Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Sprint: Security 2023-03-20, Security 2023-04-03
Participants:

 Description   

In QE protocol v1, tags needed to be read from ESC and ECC. This necessitated using a transaction to ensure consistency between the two tables. In QE protocol V2, ECC is gone and all tag reading is done by the new QE command to read ESC. Therefore, we no longer need to do the QE reads in a separate transaction. Avoiding an unnecessary transaction allows us to avoid the need to write to the oplog to ensure we read from majority committed changes.



 Comments   
Comment by Githook User [ 24/Mar/23 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-74865 Reduce usage of transactions in QE server rewrite
Branch: master
https://github.com/mongodb/mongo/commit/75882cf4027da0b762e03f53c7ae38ebc23b9830

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