[SERVER-59964] The BalancerCommandsScheduler needs to persist on disk information on moveChunk commands under execution. Created: 15/Sep/21  Updated: 29/Oct/23  Resolved: 05/Oct/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Paolo Polato Assignee: Paolo Polato
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-59966 Implement an initialisation routine i... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2021-09-20, Sharding EMEA 2021-10-04, Sharding EMEA 2021-10-18
Participants:

 Description   

The collection chunks defragmentation algorithm info involves the submission of moveChunk commands from the ConfigServer through BalancerCommandsScheduler.

The involved shards may require tens of seconds to complete such operation, during which an election of a new ConfigServer primary may occur: the new primary will have to resume the defragmentation algorithm from a stable state - meaning that no new commands may be issued as long as all the moveChunk operations launched by its predecessor have completed.

As a preliminary task to support such initialisation logic, information on moveChunk commands under execution need to be persisted on disk and kept up to date.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 05/Oct/21 ]

Author:

{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}

Message: SERVER-59964 Persist data on commands issued by BalancerCommandsScheduler to support crash recovery routine
Branch: master
https://github.com/mongodb/mongo/commit/c06be6d51a30e00e3fab6e7baaa95e340cd6352d

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