[SERVER-24652] Expose balancer round counter through the balancer serverStatus section Created: 17/Jun/16  Updated: 02/Dec/16  Resolved: 21/Jun/16

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

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:
Documented
is documented by DOCS-9482 Docs for SERVER-24652: Expose balance... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 16 (06/24/16)
Participants:

 Description   

In order for tests and external observers to be able to check that a balancer round has completed, we should expose state on the 'balancer' serverStatus section, which reports the current status of the balancer along with the number of rounds, which it has gone through since started.

As part of this change, also re-enable the balancer_window.js unit-test.



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

Author:

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

Message: SERVER-24652 Expose the balancer state through serverStatus section

This change exposes some of the internal state of the balancer through
section only available on the config server. It also enables previously
disabled tests, which needed to wait for a balancer round to complete.
Branch: master
https://github.com/mongodb/mongo/commit/42f4b9849826f93125dbb71c56158eb0cbc0f401

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