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

Batch retryable writes of type WriteWithoutShardKeyWithId

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • 159

      Currently, we send WriteWithoutShardKeyWithId in their own batch when ordered=false. This may cause an overall increase in latency due to several requests waiting to be processed serially as we increase the throughput of client requests, when compared to the performance with UpdateOneWithoutShardKeyWithId feature flag off.

      Use existing retryable write client sessions to retry with idempotency in the case of stale shard/db version errors. This ticket is to fix it in batch_write_exec code path.

            Assignee:
            abdul.qadeer@mongodb.com Abdul Qadeer
            Reporter:
            abdul.qadeer@mongodb.com Abdul Qadeer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: