[SERVER-21980] Data size goes down during recovery Created: 21/Dec/15  Updated: 22/Dec/15  Resolved: 22/Dec/15

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 3.2.0
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: James Mangold Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Hi. I tried a test of taking a single node from a replica set, stopping it and then rm -rf on the data dir, thus removing everything. I then restarted mongod and mongos on that node. It has been in STARTUP2 for a few hours. The other replica set members have 60+GB of data, so it is recovering that. My question is this - Why do I see the over all size of my data directory go up and down? I would expect it to just go up. These are sharded collections across 4 nodes, with 2 replicas. There are probably 100 collections, with maybe 2 single field indexes each.
Total cluster size is 12 nodes (4X3). Thanks.



 Comments   
Comment by Kelsey Schubert [ 22/Dec/15 ]

Hi james.mangold@interactivedata.com,

Thanks for your report. Please note that SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-users group or Stack Overflow with the mongodb tag. A question like this involving more discussion would be best posted on the mongodb-users group.

Kind Regards,
Thomas

Generated at Thu Feb 08 03:59:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.