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

Initial sync index build is sequential and single-threaded

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Operating System:
      ALL

      Description

      In this comment in SERVER-9135, I see that indexes (other than the _id index) should now be built in parallel during initial sync.

      However, in testing with 3.0.5 I see that all indexes on a collection are built sequentially. Furthermore the speed of each index build is CPU-bound on a single CPU core.

      mongod log file from repro attached.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: