Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Mongodb replication seems to be abnormal

$
0
0

I have a three member replica set as 1 primary and 2 secondaries A - Primary B - Secondary C - Secondary

Initially I had only one Member A and all CRUD operations were performed on this only.

After some time I had introduced 2 secondories B and C Now again for some reason, secondories were removed and rejoind in cluster.

When I have stepdown node A to make node C primary.

Now it seems to be abnormal:

Node A

rs1:SECONDARY> show dbs TEST 2136.457GB

Node B

rs1:PRIMARY> show dbs TEST 351.329GB

Node C

rs1:SECONDARY> show dbs TEST 2136.457GB

The new primary node is having less data. was it ecame stale at any point of time, if yes, then how should I am able to know it.

Please Help to understand this A


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>