[SERVER-75759] unify call to MongoDSessionCatalog in OpObserverImpl::onDelete Created: 06/Apr/23  Updated: 29/Oct/23  Resolved: 07/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.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:
Related
is related to SERVER-74100 Streamline logical branches in opObse... Backlog
is related to SERVER-63044 Batch user multi-doc deletes on non-s... Closed
is related to SERVER-63047 Make delete batches fully transactional Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2023-04-17
Participants:

 Description   

In OpObserverImpl::onDelete(), we can improve the readability of this function by deferring the call to MongoDSessionCatalog::observeDirectWriteToConfigTransactions() to the end of the function. This function registers a change handler on the RecoveryUnit so ordering is not critical here.



 Comments   
Comment by Githook User [ 07/Apr/23 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-75759 unify call to MongoDSessionCatalog in OpObserverImpl::onDelete
Branch: master
https://github.com/mongodb/mongo/commit/29e5a95addd41a03e28bb00e803f5d01b092d15c

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