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
PrimaryUpdateAndCacheUtils now does not support status patching with optimistic locking, since when we are want to store an allocated value in statues, we want to have that value always stored.
An another approach would be with optimistic locking is to retry if it fails, and re-reading the resource - apply the changes and apply again.
Note that the nice part about this that this way, we don't have to set parseResourceVersionsForEventFilteringAndCaching true to have this work in all cases properly, on the other hand having a correct number of retries is theoretically tricky, but in practice this should work fine.
The text was updated successfully, but these errors were encountered:
PrimaryUpdateAndCacheUtils
now does not support status patching with optimistic locking, since when we are want to store an allocated value in statues, we want to have that value always stored.An another approach would be with optimistic locking is to retry if it fails, and re-reading the resource - apply the changes and apply again.
Note that the nice part about this that this way, we don't have to set
parseResourceVersionsForEventFilteringAndCaching
true to have this work in all cases properly, on the other hand having a correct number of retries is theoretically tricky, but in practice this should work fine.The text was updated successfully, but these errors were encountered: