-
Notifications
You must be signed in to change notification settings - Fork 501
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
fix httpserver httppipeline status not show error #441
Conversation
Codecov Report
@@ Coverage Diff @@
## main #441 +/- ##
==========================================
- Coverage 80.55% 80.52% -0.03%
==========================================
Files 70 70
Lines 8094 8154 +60
==========================================
+ Hits 6520 6566 +46
- Misses 1218 1229 +11
- Partials 356 359 +3
Continue to review full report at Codecov.
|
I tested the scenario described in issue #438, using curl command |
Hi, @samutamm after start up, you need wait some few seconds before request. |
here are my results after wait about half minute... |
Actually, the root cause here is that TrafficController took the control of the lifecycle of HTTPServer/HTTPPipeline, so it's intuitive that the statuses of servers/pipelines are reported by the TrafficController, where it will cause the mislocation between config and status of them. I'm fine with this quick fix without deep and tidy refactoring. But if there brought more kinds of stuff under TrafficController, we should fix them in a whole policy(TrafficController syncing or move the status to the corresponding location). |
Returning status only from the default namespace is all right. |
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.
LGTM!
Fix #438
return status is map -> map[member id]status... Since our
egctl
does not specific namespace now, we return status from all namespace. this part may need change.