[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: |
| Comment by Githook User [ 07/Jul/20 ] |
|
Author: {'name': 'Spencer T Brody', 'email': 'spencer@mongodb.com', 'username': 'stbrody'}Message: |
| 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? |