-
Type: Bug
-
Resolution: Incomplete
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.4.9
-
Component/s: Performance
-
Linux
-
Hi,
while preforming a mongorestore with a database of roughly 4GB, there was a big collection there (audit table) that when restoring it (and the indexes on the collection afterwards), the process took a lot of time - about 45 minutes and it made a huge impact and all of the nodes during that time thus making all of the mongo nodes respond extremely slow rendering the service unable to work with.
so my question is, is this a normal mongodb behavior? should i expect db-wide lock on every big restore ill be doing? if not what can cause the issue?
one thing to note is that we are using NFS storage, and i know mongodb does not work very well with it, but again should a restore of 4gb db take 45 minutes and lock the entire replica set even if its NFS?
logs attached - the restore took place on 17/04 around 2am and again later that day on 8-10am.