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

Remove support for parallel initial sync

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Repl 2018-07-30, Repl 2018-08-13, Repl 2018-08-27

      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.

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

              Created:
              Updated:
              Resolved: