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

Remove support for parallel initial sync

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Replication
    • Labels:
      None

      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

          Issue Links

            Activity

              People

              Assignee:
              matthew.russotto Matthew Russotto
              Reporter:
              tess.avitabile Tess Avitabile
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: