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
fix(olm): Fix the issue with missing events due to rate limit
Event recorder has a rate limit (defaultSpamBurst) 25 events per
10 minutes. After the limit is reached, refill rate reduces to
1 event per 5 minutes which causes some events to get lost.
Currently implementation allows CSV to be stuck in Pending phase
for a long time if there are some missing requirements. As a result,
during sync cycle, CSV continues to spam `CSVReasonRequirementsNotMet`
events. Now, the code is fixed to not send any identical events that
match current state of CSV.
Signed-off-by: Vu Dinh <[email protected]>
out.SetPhaseWithEvent(v1alpha1.CSVPhasePending, v1alpha1.CSVReasonRequirementsNotMet, "one or more requirements couldn't be found", now, a.recorder)
887
+
out.SetPhaseWithEventIfChanged(v1alpha1.CSVPhasePending, v1alpha1.CSVReasonRequirementsNotMet, "one or more requirements couldn't be found", now, a.recorder)
0 commit comments