Hello all,
I migrated my replicaset (2 Mongod + arbiter) to mongodb 3.0.2 with wiredTiger storage engine with default config 2 weeks ago and I was trying to restore some of my big collections since I have more space now. Primary is on SSD RAID (3TB/ used only 600MB used by now) and the secondary is on a big RAID over fast disk 15K with the same size.
I started my mongorestore (collection size is about 400 million) and after 14 hours I noticed all the operations were stopped. I guess they have been queued for sometime and every minute or so you see bunch of them on mongostat. I even restarted all my applications (Node.js latest driver) but no luck. No updates, no inserts and not query. These operations are really small. Like 10 queries/s or 30 update/s.
This is scary cause I was down for the next 14 to 15 hours till the restore was completed and I have two other collections with the same size.
Here are some screenshots of the operations and how I ran the mongorestore:
Secondary doing inserts:
![](https://lh3.googleusercontent.com/-xf7a6aEcj34/VTD81ijPOtI/AAAAAAAAC_I/ZKWsF5-Wygk/s400/Screen%2BShot%2B2015-04-16%2Bat%2B4.13.01%2BPM.png)
And Primary doing nothing or maybe something at the background:
![](https://lh3.googleusercontent.com/-yT_4qHL5Pmw/VTD9IrccPBI/AAAAAAAAC_Q/wDhFzIjn3yU/s320/Screen%2BShot%2B2015-04-16%2Bat%2B4.13.56%2BPM.png)
and once in while it will insert like this:
![](https://lh3.googleusercontent.com/-k1P4cEKGVfk/VTEBARbhoPI/AAAAAAAAC_c/s3ayBXE7G6Y/s320/Screen%2BShot%2B2015-04-16%2Bat%2B4.15.30%2BPM.png)
and this is how it looks like when all the operations backed up and blocked by mogorestore:
![](https://lh3.googleusercontent.com/-JG3aKWgBvR8/VTEBNlDZgTI/AAAAAAAAC_k/WYQ02EMyWKk/s320/Screen%2BShot%2B2015-04-16%2Bat%2B4.12.28%2BPM.png)
And some MMS:
![](https://lh3.googleusercontent.com/-cxbPXq_mS-c/VTEBbfoMFAI/AAAAAAAAC_s/y5xArADQdT8/s320/Screen%2BShot%2B2015-04-16%2Bat%2B4.14.14%2BPM.png)
![](https://lh3.googleusercontent.com/-hUxZSz77HDs/VTEBdWE8d4I/AAAAAAAAC_0/XgQXAySSO5A/s320/Screen%2BShot%2B2015-04-16%2Bat%2B4.14.33%2BPM.png)
And finally this a command I ran mongostore and how I started my replicaSet:
mongorestore --host 10.0.0.4 --collection FRTweets_2014 --db test --numParallelCollections 10 --numInsertionWorkersPerCollection 10 --writeConcern 0 /dump/test/FRTweets.bson
sudo mongod --storageEngine wiredTiger --dbpath /data/ --replSet rs0 --fork --logpath /var/log/mongodb/fork.log
Is this a bug in new Mongorestore or I am doing something wrong that blocks other operations?
Thanks