mongodb-cluster-docker-compose icon indicating copy to clipboard operation
mongodb-cluster-docker-compose copied to clipboard

show how to safely take down replicas

Open ORESoftware opened this issue 6 years ago • 1 comments

It would be nice to see how to safely remove replicas from the cluster. I only need 1 or 2 replicas in my case. For whatever reason, ChangeStreams seem to work much slower with a lot of replicas?

ORESoftware avatar Sep 10 '19 03:09 ORESoftware

@ORESoftware I'm sorry I did not see your message

I am not good at mongodb, I'm also still researching so I don't have the answer for your question right now

minhhungit avatar Jan 30 '20 12:01 minhhungit

@ORESoftware

As I remember mongodb replicas requires 1 primary and at least (2 secondaries) or (1 secondary and 1 arbiter)

Try to check this link if it helps https://www.mongodb.com/docs/v4.4/administration/change-streams-production-recommendations/

minhhungit avatar Sep 05 '22 08:09 minhhungit