[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. |
| 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, |