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
). This is registered as another object modification if the new reconcile is not within the same wall-second as the previous one. Depending on how long one reconcile takes, that can cause (up to) an infinite re-reconciliation loop while the object is trying to settle down (which is likely to be an indication that the cluster is struggling to begin with!).
Possible solution
Drop last_update_time completely (for compat: either stub it out or make it equivalent to last_transition_time)
Take the value from whenever the data source for the condition was updated, rather than the current wall time (if it makes sense/is possible for that condition)
There, the last_updated_time does not even appear so i am not sure why it was introduced here, as this would always only be the last timestamp the operator reconciled, which does not provide much value.
Uh oh!
There was an error while loading. Please reload this page.
Affected version
Yes. (Still an issue on trunk, introduced in #571, rolled out around SDP 23.4.)
Current and expected behavior
Reconciling a cluster where there nothing has changed should be a no-op.
ClusterCondition::last_update_time
breaks this expectation since it is set unconditionally to whatever the current time is, rounded to the second (operator-rs/crates/stackable-operator/src/status/condition/mod.rs
Lines 350 to 355 in 61596d6
Possible solution
last_update_time
completely (for compat: either stub it out or make it equivalent tolast_transition_time
)Additional context
Discovered by @siegfriedweber, discussed at https://stackable-workspace.slack.com/archives/C02FZ581UCD/p1747230004370629
Environment
No response
Would you like to work on fixing this bug?
None
The text was updated successfully, but these errors were encountered: