-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
Sharding 2020-11-30, Sharding 2020-12-14
-
50
Applying oplog entries during resharding is subject to write skew when reading from the output collection. In order to avoid this and force a read-write conflict, add a new method to Helpers that will run a find followed by an update using the doc we've just read (so the update is a no-op) in order to force a conflict and avoid write skew. This is meant to mimic WTs reserve method.