-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: 4.1.6
-
Component/s: Sharding
-
Cluster Scalability
-
ALL
-
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
Writes that target more than one shard (including multi=false writes with exact _id queries) are sent with shard versions in transactions, instead of being sent unversioned like they are outside of a transaction. Update and delete do not have a shard filter stage, so if an orphan document matches the write's query but cannot be updated or deleted (e.g. would violate a unique index), the entire operation will fail, whereas outside a transaction the response will contain a writeError, but the non-orphan documents will be successfully modified.