|
In SERVER-44812 we added commitmentStatus as a field in the replSetGetConfig reply. If the user passes commitmentStatus: true in the request, then the reply will also contain commitmentStatus, which is true iff the current replica set config has satisfied both of the "config commitment" checks:
- The current config has propagated to majority of the nodes in the current config
- The last optime written in the previous config has been replicated by a majority of nodes in the current config
It could be useful to expose additional details. Specifically, we could add two more fields to replSetGetStatus, indicating whether condition 1 and/or condition 2 has been satisfied.
|