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