[DOCS-13413] sh.status() examples should include balancer details like active window Created: 13/Feb/20  Updated: 30/Oct/23

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Improvement Priority: Minor - P4
Reporter: Nic Cottrell Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: docs-sharding, grab-bag
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 1 year, 14 weeks, 2 days ago
Epic Link: DOCSP-1769

 Description   

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

 

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Education Bot [ 31/Oct/22 ]

Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you!

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