[SERVER-85568] Batch writes of type WriteWithoutShardKeyWithId with other writes Created: 22/Jan/24  Updated: 25/Jan/24

Status: Open
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Abdul Qadeer Assignee: Abdul Qadeer
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 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.


Generated at Thu Feb 08 06:58:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.