You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not a MongoDB expert but as a developer being done some work in a backup tool for MongoDB I can tell you hidden servers are not elegible to become primary. Because of that, the backup tools search for hidden servers to use as the backup source since reading them won't affect the client's performance.
Priority IS taken into account and probably arbiterOnly too.
Is it a way to count the number of members eligible for primary?
I'm not sure, but to get the information, priority and hidden of replSetGetConfig is needed.
https://docs.mongodb.com/manual/reference/command/replSetGetConfig/#mongodb-dbcommand-dbcmd.replSetGetConfig
However replSetGetConfig is not the list at v0.20.5.
Or anythink alike in the current set of metrics?
Thanks in advance.
The text was updated successfully, but these errors were encountered: