Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-13692

db wide lock while performing mongorestore on a sized collection

    • Linux
    • Hide

      just ran a mongorestore on the problematic database.
      i cant share the dump file as in contains customer sensitive data.

      Show
      just ran a mongorestore on the problematic database. i cant share the dump file as in contains customer sensitive data.

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            andrey.nikitin@hp.com Andrey Nikitin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: