-
Type: Improvement
-
Resolution: Won't Do
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: manual
-
Labels:
Description
Regarding sh.status in the output examples part, there is a section starting balancer:
SERVER-14882 introduces some useful details such as:
Balancer lock taken at Fri Apr 04 2014 03:27:02 GMT-0400 (EDT) by hostNameFoo.prod.xx4.s.com:20000:1392326399:1804289383:Balancer:846930886 Balancer active window is set between 23:00 and 04:00
I suggest that these two lines be included in the docs example, so that it's discoverable. Otherwise it looks like the only way to query this is to access the config database directly, e.g. from the manager balancer docs.
Relevant code:
https://github.com/mongodb/mongo/blob/f48da7a0f83762d214128799923e4bcede800dbe/src/mongo/shell/utils_sh.js#L649