[SERVER-37885] Wait for something to be majority committed in term on step up in TransactionCoordinatorService Created: 01/Nov/18 Updated: 29/Oct/23 Resolved: 21/Dec/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.7 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Matthew Saltz (Inactive) | Assignee: | Esha Maharishi (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | ShardedTxn:DistributedCommit, transaction-coordinator-management | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Sharding 2018-12-31 |
| Participants: |
| Description |
|
When a shard steps up, it needs to wait until something has been majority committed in the new term before reading the transaction coordinator commit decisions from disk, to ensure that it only reads valid/durable commit decisions. |
| Comments |
| Comment by Esha Maharishi (Inactive) [ 21/Dec/18 ] |
|
Git commit url: https://github.com/mongodb/mongo/commit/b1b12e51696cdcb6de7faed3e0c9dbc42728360b (The git hook seems to not be working) |