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

Batch writes of type WriteWithoutShardKeyWithId with other writes

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      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.

      One solution here will require some code refactoring and promotion of non-retryable writes to retryable writes, enabling us to retry with idempotency in the case of stale shard/db version errors.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: