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:
And Primary doing nothing or maybe something at the background:
and once in while it will insert like this:
and this is how it looks like when all the operations backed up and blocked by mogorestore:
And some MMS:
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