[SERVER-24720] Move the balancer status from the serverStatus section to a balancerStatus command Created: 22/Jun/16  Updated: 18/Jan/18  Resolved: 29/Jun/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.3.10

Type: Task Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DOCS-8140 Document the new balancer control com... Closed
Related
related to DOCS-11227 Update Note in 'Disable The Balancer'... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 17 (07/15/16)
Participants:

 Description   

After some discussion it was decided that a more appropriate means to expose the balancer state is through the controlBalancer command instead of doing it through the serverStatus section on the config server.

Going the controlBalancer way we avoid the need for clients to have to talk directly to the config server or for the mongos serverStatus command to have to do network calls.

The status will be exposed through a new parameter called status, which will return the same fields, which are now in the serverStatus.balancer section.



 Comments   
Comment by Githook User [ 30/Jun/16 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-24720 Use MONGO_INITIALIZER to instantiate balancer control commands
Branch: master
https://github.com/mongodb/mongo/commit/a37d312f3eb66cfb0a058f68c45799cc7a84971a

Comment by Githook User [ 29/Jun/16 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-24720/SERVER-24782 Move serverStatus.balancer to a balancerStatus command

This change gets rid of the serverStatus.balancer section and moves its
functionality to a new balancer command called 'balancerStatus'.

In addition it gets rid of the 'controlBalancer' command and splits it
into two commands - balancerStart and balancerStop.
Branch: master
https://github.com/mongodb/mongo/commit/7f736859d32f9237aa382a676644082a9f66a45d

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