-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "fix: some status updates are discarded by the status updater" #4754
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4754 +/- ##
==========================================
+ Coverage 65.61% 65.63% +0.01%
==========================================
Files 211 211
Lines 31961 31969 +8
==========================================
+ Hits 20972 20983 +11
+ Misses 9750 9749 -1
+ Partials 1239 1237 -2 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
updateChannel chan<- Update | ||
} | ||
|
||
// Send sends the given Update off to the update channel for writing by the UpdateHandler. | ||
func (u *UpdateWriter) Send(update Update) { | ||
// Non-blocking receive to see if we should pass along update. | ||
u.updateChannel <- update | ||
select { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line can block reconciling
u.updateChannel <- update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that we got regression for #4336
https://github.com/envoyproxy/gateway/actions/runs/11965697450/job/33361599433?pr=4754
Messages: error waiting for Gateway status to have listeners matching expectations
An alternative approach is decouping the reconciler and gateway status updates: #4767
…4337)" This reverts commit 14830c7. Signed-off-by: Huabing Zhao <[email protected]>
045b2af
to
ec74784
Compare
Reverts #4337
Fixes: #4685
Release Note: Yes