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

Implement sub-batching logic for bulkWrite on mongos

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Replication
    • Fully Compatible
    • Repl 2023-02-06, Repl 2023-02-20

      Target ops with the appropriate targeter based on the namespace index and re-batch ops based on their targeted shard id

      • For ordered: false, each of ops is targeted and they are grouped into a batch (i.e. to form a new bulkWrite command) based on their targeted shard endpoint
      • For ordered: true, we will batch consecutive ops that target the same shard id when possible or execute one write op at a time to respect the ordering

       

            Assignee:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Reporter:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: