Data size goes down during recovery

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.2.0
    • Component/s: Replication
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Unassigned
            Reporter:
            James Mangold
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: