We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Update the plugin config for route, and then access to the route, the plugin config is not updated.
apisix version
$ curl http://127.0.0.1:9180/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -i -d ' { "uri": "/opentracing", "plugins": { "http-logger": { "uri": "http://172.16.238.20:1982/hello", "batch_max_size": 1, "max_retry_count": 1, "retry_delay": 2, "buffer_duration": 2, "inactive_timeout": 2, "name": "http logger", "timeout": 3, "concat_method": "json" } }, "upstream": { "type": "roundrobin", "nodes": [{ "host": "172.16.238.20", "port": 1981, "weight": 1 }] } }'
$ curl http://127.0.0.1:9080/opentracing
$ curl http://127.0.0.1:9180/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -i -d ' { "uri": "/opentracing", "plugins": { "http-logger": { "uri": "http://172.16.238.20:8888/hello", "batch_max_size": 1, "max_retry_count": 1, "retry_delay": 2, "buffer_duration": 2, "inactive_timeout": 2, "name": "http logger", "timeout": 3, "concat_method": "json" } }, "upstream": { "type": "roundrobin", "nodes": [{ "host": "172.16.238.20", "port": 1980, "weight": 1 }] } }'
upstream has changed to 172.16.238.20:1980
172.16.238.20:1980
but log is still pushed to http://172.16.238.20:1982/hello
http://172.16.238.20:1982/hello
log should push to http://172.16.238.20:8888/hello
http://172.16.238.20:8888/hello
The text was updated successfully, but these errors were encountered:
The old log_buffer object was still in use after the route was updated.
Sorry, something went wrong.
Assigned to me.
fix: fixed the non effective config update in http-logger (#2901)
fa30c10
* change: changed log level when delete stale batch processor objects close #2870
tokers
Successfully merging a pull request may close this issue.
Issue description
Update the plugin config for route, and then access to the route, the plugin config is not updated.
Environment
apisix version
): master sourceMinimal test code / Steps to reproduce the issue
What's the actual result? (including assertion message & call stack if applicable)
upstream has changed to
172.16.238.20:1980
but log is still pushed to
http://172.16.238.20:1982/hello
What's the expected result?
log should push to
http://172.16.238.20:8888/hello
The text was updated successfully, but these errors were encountered: