[SERVER-11911] update rs.conf() to always display all documented fields Created: 02/Dec/13  Updated: 03/Mar/15  Resolved: 19/Feb/15

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 2.4.8
Fix Version/s: 2.7.8

Type: Improvement Priority: Minor - P4
Reporter: Adam Comerford Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Duplicate
is duplicated by SERVER-2463 update rs.conf() to always display vo... Closed
Related
related to SERVER-14859 Remove HybridReplicationCoordinator Closed
Backwards Compatibility: Minor Change
Participants:

 Description   

When priorities are altered to non-default values, those values are displayed, but when set back to 1 (the default), the field is no longer displayed. This is similar to the request for votes in SERVER-2463. This makes any scripted changes (and particularly reversion of those changes) to these values difficult to verify

Perhaps a parameter could be passed in (similar to sh.status(true) in a sharded cluster) that would trigger "verbose" mode and print any default values also.


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