-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
Repl 2019-09-09
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Multi-field update op may fail because one field updates a subdocument or subarray field and the sub document/array doesn't exist (because it was deleted by a later op). In that case, the entire update failed to apply. Here's a concrete example.
Before initial sync, the doc is {y: [0]}
--------- start clone ---------
x = 1
x = 2, y.0 = 2 (multi-field update)
y = 3
--------- end clone -----------
The expected state is {x: 2, y: 3}
- is related to
-
SERVER-38860 Positional array update behavior of applyOps on invalid field varies on different versions
-
- Closed
-