[SERVER-47851] Add "commitmentStatus" parameter to rs.conf() shell helper Created: 30/Apr/20  Updated: 06/Dec/22  Resolved: 11/May/20

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 4.3.4
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: Backlog - Replication Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Replication
Participants:

 Description   

We added the commitmentStatus parameter to replSetGetConfig in SERVER-44812, but we didn't add it to the rs.conf() shell helper. Let's consider adding it. (I noticed this while reviewing DOCS-13460.)



 Comments   
Comment by A. Jesse Jiryu Davis [ 30/Apr/20 ]

Nevermind, it probably doesn't make sense to do so. replSetGetStatus returns:

{ config: { ... }, commitmentStatus: true/false }

But rs.conf() returns only the config subdocument, so there's no simple way to return commitmentStatus.

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