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

Create new function on Shard class to do multiple document batch writes

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • Sharding 2017-02-13

      Shard::runBatchWriteCommandOnConfig only allows a single document in each batch write: it enforces this with an invariant in the function.

      Writing to config.chunks.uuid on shards can safely do batch writes with multiple documents per batch.

      This ticket is to create a new function and rename the old to reflect the number of documents allowed in the batch.

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: