You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
policy: Use 'insertOldIfNotExists() in addDependentOnEntry()
Keep the oldest changed value in 'addDependentOnEntry()' by using
'insertOldIfNotExists()' rather than modifying 'changes.Old'
directly. Changes in tests are due to the way 'insertOldIfNotExists()'
filters out new entries (not adding an 'old' entry if the key exists in
'changes.Adds'). Test changes are in the 'deletes' field due to the test
internally setting a 'deletes' key for each key in 'changes.Old'.
Old key values are used when reverting a failed endpoint update, prior to
this fix that revert may have produced incorrect results.
Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
0 commit comments