-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
ALL
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
On v8.0, when a sharded collection that has an _id value that is present on multiple shards, a retryable multi:false update or delete that targets this _id value (without a shard key) will end up affecting more than one document (due to how retryable updates/deletes by _id without shard key are implemented in v8.0).
Accepting that behavior for now, a user has reported that they noticed a case where an update by _id (without a shard key) was modifying two documents but was return "n=1". See the "Steps to Reproduce" section for an example.
The goal of this ticket is to ensure that this bug is fixed in v9.0, and also to explore whether a fix should be backported to v8.0 and v8.2 as well.