Skip to content
This repository has been archived by the owner on Jun 18, 2022. It is now read-only.

MongoDB cluster splits up replica set after 1st node in cluster is removed #105

Open
rainmaker2k opened this issue Aug 7, 2017 · 0 comments

Comments

@rainmaker2k
Copy link

rainmaker2k commented Aug 7, 2017

I have an issue with the MongoDB cluster after the first node in the cluster gets removed. It seems to cause a new node to be created and initializes its own new empty replicaset.

For example when the host with the first node is brought down, a new node will be created. MongoDB does take care of electing a new primary, but it seems it can't find the existing cluster and the scaling script will start to create a new replica set for the new node and lose all the data from the existing node.

This issue might occur when the host with the first node running might be replaced.

edit: updated findings

@rainmaker2k rainmaker2k changed the title MongoDB cluster splits up after 1st node in cluster is removed MongoDB cluster splits up replica set after 1st node in cluster is removed Aug 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant