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

Remove support for parallel initial sync

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • None
    • Repl 2018-07-30, Repl 2018-08-13, Repl 2018-08-27

    Description

      There is unused code for using parallelCollectionScan in the CollectionCloner for initial sync. This was possible using the AsyncResultsMerger, which supports sending getMore commands for multiple cursors and processing the results asynchronously. However, for the Faster Initial Sync project, we are rewriting the CollectionCloner to use DBClientConnection. In order to support multiple cursors with DBClientConnection, we would need to create multiple data cloning threads. This is not worthwhile, since we are not currently using this functionality. WiredTiger does not support parallelCollectionScan and has no plans to do so.

      Attachments

        Activity

          People

            matthew.russotto@mongodb.com Matthew Russotto
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: