M103-ReplicaSet roles defined for Mongod nodes

Good morning, Forum:

I learned that it is possible to set a Mongod node in a ReplicaSet as a PRIMARY, SECONDARY, ARBITRER, HIDDEN or DELAYED. I understood them as the roles a mongod instance could have. Every mongod instance should have only one of this roles or can have more than one? What are the constraints defined abot those?

Thank you so much in advance.
Cordially yours,
William Martín Chávez González,

Hi @William_49170,

Nodes can transition from one state to another based on some conditions. I would recommend you to go through this resource to know more about these specific states.

Let me know if you have any questions.