[SERVER-38677] Remove the invalidations counter from TransactionParticipant Created: 17/Dec/18  Updated: 29/Oct/23  Resolved: 19/Dec/18

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.1.7

Type: Improvement Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2018-12-31
Participants:

 Description   

Now that all callers are required to check-out the session before performing any operations on it, it is not possible that it becomes invalidated while someone is using it. Because of this the _numInvalidations counter is no longer necessary.



 Comments   
Comment by Githook User [ 21/Dec/18 ]

Author:

{'username': 'kaloianm', 'email': 'kaloian.manassiev@mongodb.com', 'name': 'Kaloian Manassiev'}

Message: SERVER-38677 Move all 'forTest' methods to a separate section of the header file

Also group TransactionParticipant methods based on whether they can be
called with the session checked-out or not.
Branch: master
https://github.com/mongodb/mongo/commit/b44702c99e7fc7312599fd8da6c12f67871d0b6d

Comment by Githook User [ 19/Dec/18 ]

Author:

{'username': 'kaloianm', 'email': 'kaloian.manassiev@mongodb.com', 'name': 'Kaloian Manassiev'}

Message: SERVER-38677 Remove the invalidations counter from TransactionParticipant
Branch: master
https://github.com/mongodb/mongo/commit/20d857c7609bd2e7cbba5649bd943a7073ea1509

Generated at Thu Feb 08 04:49:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.