[SERVER-68215] move MongoDSessionCatalog out of db/transaction library into its own library Created: 21/Jul/22  Updated: 29/Oct/23  Resolved: 29/Aug/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.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
related to SERVER-68321 clean up db/transaction LIBDEPS Closed
related to SERVER-68861 provide class hierarchy for SessionCa... Closed
is related to SERVER-68214 move logical session code out of top-... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2022-08-08, Execution Team 2022-08-22, Execution Team 2022-09-05
Participants:

 Description   

This class is intended to manage the state of logical sessions on a mongod. It is currently part of the db/transaction library because there are some dependencies on the multi-doc transaction code. We should explore extracting this class out the db/transaction library and clarify its contract with the transaction-related code.



 Comments   
Comment by Githook User [ 29/Aug/22 ]

Author:

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

Message: SERVER-68215 move MongoDSessionCatalog into its own library
Branch: master
https://github.com/mongodb/mongo/commit/a8ff73d03f7b21764479524f28c5bbae857fdc6b

Comment by Githook User [ 29/Aug/22 ]

Author:

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

Message: SERVER-68215 add MongoDSessionCatalogTransactionInterface::makeSessionWorkerFnForStepUp()
Branch: master
https://github.com/mongodb/mongo/commit/9e38bb05766a84765a1db547a137c7c64f09f217

Comment by Githook User [ 29/Aug/22 ]

Author:

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

Message: SERVER-68215 add MongoDSessionCatalogTransactionInterface::refreshLocksForPreparedTransaction()
Branch: master
https://github.com/mongodb/mongo/commit/41c52264f5ad613ad0e0b265f32ce58b6f2b1295

Comment by Githook User [ 29/Aug/22 ]

Author:

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

Message: SERVER-68215 add MongoDSessionCatalogTransactionInterface::beginOrContinueTransactionUnconditionally()
Branch: master
https://github.com/mongodb/mongo/commit/4c16c7b25610294357c4971cc27da7290d64c926

Comment by Githook User [ 28/Aug/22 ]

Author:

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

Message: SERVER-68215 add MongoDSessionCatalogTransactionInterface::isTransactionPrepared() and isTransactionInProgress()
Branch: master
https://github.com/mongodb/mongo/commit/c218ab8f69e51dc747720dcb89acd8bc36d07f54

Comment by Githook User [ 27/Aug/22 ]

Author:

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

Message: SERVER-68215 add MongoDSessionCatalogTransactionInterface::refreshTransactionFromStorageIfNeeded()
Branch: master
https://github.com/mongodb/mongo/commit/54360d58bf4bbef694b40898097e0761fbf483cf

Comment by Githook User [ 26/Aug/22 ]

Author:

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

Message: SERVER-68215 add MongoDSessionCatalogTransactionInterface::abortTransaction()
Branch: master
https://github.com/mongodb/mongo/commit/7fb0eb0a04a5a165428244524e32ae7cce206d22

Comment by Githook User [ 26/Aug/22 ]

Author:

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

Message: SERVER-68215 add MongoDSessionCatalogTransactionInterface::makeParentSessionWorkerFnForReap() and makeChildSessionWorkerFnForReap()
Branch: master
https://github.com/mongodb/mongo/commit/9959df8481a1b13214600f5c6ab06d5b0af2fedb

Comment by Githook User [ 26/Aug/22 ]

Author:

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

Message: SERVER-68215 add MongoDSessionCatalogTransactionInterface::invalidateSessionToKill()
Branch: master
https://github.com/mongodb/mongo/commit/acf81f84dabf486f74a84b99f04cd17efa35424f

Comment by Githook User [ 25/Aug/22 ]

Author:

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

Message: SERVER-68215 MongoDSessionCatalog constructor accepts MongoDSessionCatalogTransactionInterface
Branch: master
https://github.com/mongodb/mongo/commit/ec8694abf458ceb1494ed97a29b199afc3e73708

Comment by Benety Goh [ 24/Aug/22 ]

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

Message: SERVER-68215 check out mongod sessions through MongoDSessionCatalog
Branch: master
https://github.com/mongodb/mongo/commit/dbb9f3a2783be8581a91373dfb5de8eef66df656

Comment by Benety Goh [ 23/Aug/22 ]

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

Message: SERVER-68215 make MongoDSessionCatalog a decoration on ServiceContext
Branch: master
https://github.com/mongodb/mongo/commit/3ecc949d233e878d1b9c2a0aee98eb99a044d260

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