[SERVER-41676] Make the TransactionRouter threadsafe using the observer pattern Created: 12/Jun/19  Updated: 29/Oct/23  Resolved: 27/Jun/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.2.0-rc3, 4.3.1

Type: Task Priority: Major - P3
Reporter: Blake Oler Assignee: Blake Oler
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-40983 Track and log relevant single transac... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2
Sprint: Sharding 2019-06-17, Sharding 2019-07-01
Participants:
Linked BF Score: 0

 Description   

This is needed to be able to observe transaction state for distributed transactions.



 Comments   
Comment by Githook User [ 03/Jul/19 ]

Author:

{'name': 'Blake Oler', 'username': 'BlakeIsBlake', 'email': 'blake.oler@mongodb.com'}

Message: SERVER-41676 Fix unit test compilation error
Branch: v4.2
https://github.com/mongodb/mongo/commit/f4d60f112ee0c44b7cbcddee11c38cd27d47fce8

Comment by Githook User [ 02/Jul/19 ]

Author:

{'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}

Message: SERVER-41676 Convert TransactionRouter to use observer pattern to synchronize internal data
with external observers

(cherry picked from commit c11b97788fcc91288deac647ddcc11625607d256)
Branch: v4.2
https://github.com/mongodb/mongo/commit/c512f1c4c82fec7dce815319be320e1b190788b6

Comment by Githook User [ 27/Jun/19 ]

Author:

{'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}

Message: SERVER-41676 Convert TransactionRouter to use observer pattern to synchronize internal data
with external observers
Branch: master
https://github.com/mongodb/mongo/commit/c11b97788fcc91288deac647ddcc11625607d256

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