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

Mongodb replica set: Database Size Difference

$
0
0

What are the possible reasons for a difference in database size in primary and secondary nodes of a MongoDB replica set. In my setup, the Secondary node database is of higher size than the primary one. Both nodes have the same number of objects, but the values of "avgObjSize", "dataSize", "storageSize" are higher for secondary node. There is no replication lag as well, as checked from rs.stats()

What can I check?


Viewing all articles
Browse latest Browse all 17268

Trending Articles