-
Notifications
You must be signed in to change notification settings - Fork 1.1k
fix(trafficrouting): Fix skipping setHeaderRoute if the Stable ReplicaSet is not ready #4562
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Yuki Furuyama <[email protected]>
9a97406 to
9fedff5
Compare
Published E2E Test Results 4 files 4 suites 3h 26m 49s ⏱️ For more details on these failures, see this check. Results for commit 0128082. ♻️ This comment has been updated with latest results. |
Published Unit Test Results2 369 tests 2 369 ✅ 3m 3s ⏱️ Results for commit 0128082. ♻️ This comment has been updated with latest results. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4562 +/- ##
==========================================
- Coverage 84.36% 84.36% -0.01%
==========================================
Files 164 164
Lines 18841 18841
==========================================
- Hits 15896 15895 -1
- Misses 2079 2080 +1
Partials 866 866 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Yuki Furuyama <[email protected]>
722b9b9 to
0128082
Compare
|
|
Hm.... I think another possibility is maybe trying to get some validation that the step completed. If we look at the code below I think we essentially always mark the step completed this might be why we skip? |
|
@zachaller Thank you for taking a look!
Yes, that's "always-completed" logic made me confused, but I think that is not the core reason why the step is skipped. Looking at
The 1st reason was not the case here, and my test in #4561 can reproduce this, so I believe that the |
|
@zachaller Hi Zach, could you take a look at this again when you have a chance? Thanks! |
|
@zachaller Hi Zach, could you take a look at this again? |



Fixes: #4561
Details: Changes the guardrail (
checkReplicasAvailable) to be called afterSetHeaderRoute(andSetMirrorRoute) are executed so thatsetHeaderRoutestep is not skipped when the Stable ReplicaSet is not ready.Checklist:
"fix(controller): Updates such and such. Fixes #1234".