Perform _storeCurrentLocs in parallel with the recipient shard's preparation stage

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.3.4
    • Component/s: Sharding
    • None
    • Sharding
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the chunk cloning sequence is to first run _storeCurrentLocs to gather the recordIds of all documents in the chunk to be moved, so they can be sorted in the order on disk and then telling the recipient shard to start the initial clone.

      The recipient shard's preparation for initial clone consists of several steps, including cleaning up the range for the chunk.

      We should overlap these two stages.

      This only applies to 3.4 and later.

            Assignee:
            [DO NOT USE] Backlog - Sharding Team
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: