[SERVER-30096] Add stepdown/stepup logic to ChunkSplitter Created: 11/Jul/17 Updated: 30/Oct/23 Resolved: 30/Aug/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.11 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Dianna Hohensee (Inactive) | Assignee: | Joanna Huang |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Sharding 2017-07-31 |
| Participants: |
| Description |
|
The ChunkSplitter needs to clear the task queue on stepdown, and transition to an inactive state where attempts to schedule splits will be ignored. On stepup, the ChunkSplitter should transition back into an active state, and restart processing of the queued tasks. Since the ChunkSplitter will require state (active/inactive), this means we must handle initializing it appropriately depending on whether the mongod is in primary or secondary mode. |
| Comments |
| Comment by Githook User [ 27/Jul/17 ] |
|
Author: {'email': 'joannahuang@Joannas-MacBook-Pro.local', 'name': 'Joanna Huang'}Message: |