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

Initial sync index build is sequential and single-threaded

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Works as Designed
    • None
    • None
    • Replication
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: