[SERVER-49316] Move wait_for_majority_service to its own library Created: 03/Jul/20  Updated: 29/Oct/23  Resolved: 09/Jul/20

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

Type: Task Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Spencer Brody (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Service arch 2020-06-29, Service arch 2020-07-13
Participants:

 Description   

wait_for_majority_service.cpp is currently part of the 'transaction_coordinator' library. None of its implementation is transaction-specific, however, and it can be useful for other parts of the system to use.



 Comments   
Comment by Githook User [ 08/Jul/20 ]

Author:

{'name': 'Spencer T Brody', 'email': 'spencer@mongodb.com', 'username': 'stbrody'}

Message: SERVER-49316 Unbreak dynamic build
Branch: master
https://github.com/mongodb/mongo/commit/58ffffed3212fd7e68099f4c0c9c256303a9fde3

Comment by Githook User [ 07/Jul/20 ]

Author:

{'name': 'Spencer T Brody', 'email': 'spencer@mongodb.com', 'username': 'stbrody'}

Message: SERVER-49316 Move wait_for_majority_service to its own library
Branch: master
https://github.com/mongodb/mongo/commit/2a8f91f240f9ec5cb5e47fcbb78a613985de6632

Comment by Spencer Brody (Inactive) [ 03/Jul/20 ]

It needs to be used in both in sharding and repl code, as well as in an assortment of unit tests. Maybe there is a library that is used everywhere it's needed, but I'd rather not spend a lot of time tracking it down when it's pretty straightforward to just make it its own library and that unblocks me so I can move forward on the project I'm working on that wants to use it...

Comment by Andrew Morrow (Inactive) [ 03/Jul/20 ]

spencer - If a suitable library exists, could it be moved into an existing library rather than becoming a new one?

Generated at Thu Feb 08 05:19:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.