Closed
Description
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.
Metadata
Metadata
Assignees
Labels
No labels