Changes in #3317 accidentally removed code that preserved the original operation for optimistic and non-optimistic mutation updaters, and needed to be reverted to their previous state.
This was caused by a merge conflict between optimistic mutation markers and the changes in #3317 and the prior lines that retrieved the original operation had gotten lost in testing.
A new unit test was added to prevent further regressions.
Set of changes
Add unit tests for extra variables to prevent regressions
Update code for optimistic flagging
Add removed lines to retrieve original operation in mutation result updates
Resolves #3355
Summary
Changes in #3317 accidentally removed code that preserved the original operation for optimistic and non-optimistic mutation updaters, and needed to be reverted to their previous state. This was caused by a merge conflict between
optimistic
mutation markers and the changes in #3317 and the prior lines that retrieved the original operation had gotten lost in testing.A new unit test was added to prevent further regressions.
Set of changes
optimistic
flagging