[SERVER-79148] add OpObserver method for post transaction prepare step Created: 20/Jul/23 Updated: 29/Oct/23 Resolved: 24/Jul/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Benety Goh | Assignee: | Benety Goh |
| 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: | Execution NAMR Team 2023-07-24, Execution NAMR Team 2023-08-07 | ||||||||
| Participants: | |||||||||
| Description |
|
OpObserverImpl::onTransactionPrepare() defines a side transaction for preparing a multi-document transaction. The MigrationChunkClonerSourceOpObserver also overrides this method for notifications related to chunk migration outside this side transaction. We could look into splitting up this OpObserver method in two - onTransactionPrepare() and postTransactionPrepare() to better define the boundaries of the side transaction currently in place for preparing the multi-doc transaction. |
| Comments |
| Comment by Githook User [ 23/Jul/23 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: Co-authored-by: Gregory Wlodarek <gregory.wlodarek@mongodb.com> |
| Comment by Githook User [ 22/Jul/23 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Githook User [ 21/Jul/23 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |