[SERVER-85434] Fold write_unit_of_work into shard_role_api Created: 19/Jan/24  Updated: 25/Jan/24  Resolved: 25/Jan/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 8.0.0-rc0

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

Issue Links:
Depends
is depended on by SERVER-77213 Move the all transactions-related sta... Backlog
Assigned Teams:
Catalog and Routing
Backwards Compatibility: Fully Compatible
Sprint: CAR Team 2024-02-19
Participants:

 Description   

The WriteUnitOfWork is really a shard-level transactions interface which spans more than just the storage layer, but also includes the locking subsystem and soon the catalog. Because of this, logically it really belongs in the shard_role_api library rather than in a separate one.



 Comments   
Comment by Githook User [ 25/Jan/24 ]

Author:

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

Message: SERVER-85434 Move getWriteUnitOfWork implementation to the .cpp file

GitOrigin-RevId: ca9058d56e2284cbbbfd29f92128275f1d422330
Branch: master
https://github.com/mongodb/mongo/commit/e00c59d55a79a0c5deb7289e2217d9d1dc7b1dbd

Comment by Githook User [ 24/Jan/24 ]

Author:

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

Message: SERVER-85434 Move all OpCtx WriteUnitOfWork accessors to shard_role_api

GitOrigin-RevId: bffe8a2200e6e9ed7f33dcc7074cd626e6d63d06
Branch: master
https://github.com/mongodb/mongo/commit/a9b27b82b7408ff990e041b8fa4d5b144ad47dd6

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