[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: SERVER-30096 Add stepdown/stepup logic to ChunkSplitter
Branch: master
https://github.com/mongodb/mongo/commit/029669a994f92a2f0fe57c5ed06edec871d372ab

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