mongorestore: Improve logging for long-running index builds

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: mongorestore
    • 3
    • Tools and Replicator
    • 13

      In large restorations, index builds can take a long time. When this happens, currently mongorestore offers no progress or other indicator that “all is well”.

      Two ideas to assuage this:

      1. Copy mongomirror’s LogIndexBuildProgress() function over, and run it every 10m or so.
      2. In that same interval, suggest increasing the server’s maxIndexBuildMemoryUsageMegabytes.

      … or, we could do both. (Or maybe something even better?)

              Assignee:
              Unassigned
              Reporter:
              Felipe Gasper
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: