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

Initial sync index build is sequential and single-threaded

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • ALL

      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.

            Assignee:
            scotthernandez Scott Hernandez (Inactive)
            Reporter:
            jon.rangel@mongodb.com Jon Rangel (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: