You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/09/06 16:12:04 UTC
[GitHub] [apisix] RedemptionC opened a new issue #4994: feat: add cache verification tool for APISIX
RedemptionC opened a new issue #4994:
URL: https://github.com/apache/apisix/issues/4994
### Issue description
Hi,community,I plan to add a cache verification tool for APISIX
Also,this is a subtask of [an open summer 2021 project](https://summer.iscas.ac.cn/#/org/prodetail/210050252?lang=en)
> there are 2 part in this projct,the other one is for the dashboard,I have submitted a [PR](https://github.com/apache/apisix-dashboard/pull/2065) for that
it's almost finished,it will be nice of you to give a code review or advice so I can make it ready to be merged ASAP
what the tool does is to verify that config items in APISIX cache are the same as those in ETCD
as @nic-chen says,it will be useful for debugging
### Environment
- apisix version (cmd: `apisix version`):2.9
- OS (cmd: `uname -a`):ubuntu 20.04 LTS
- OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):1.19.9.1
- etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):3.4.13
- apisix-dashboard version, if have: 2.7.1
- luarocks version, if the issue is about installation (cmd: `luarocks --version`):3.4.0
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] RedemptionC commented on issue #4994: feat: add cache verification tool for APISIX
Posted by GitBox <gi...@apache.org>.
RedemptionC commented on issue #4994:
URL: https://github.com/apache/apisix/issues/4994#issuecomment-914111751
@spacewander
thank you
BTW,I wonder why there isn't a Chinese version of control-api.md?
will a Chinese version be accepted by the community?(via PR)If yes,I'd like to give a try
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] RedemptionC edited a comment on issue #4994: feat: add cache verification tool for APISIX
Posted by GitBox <gi...@apache.org>.
RedemptionC edited a comment on issue #4994:
URL: https://github.com/apache/apisix/issues/4994#issuecomment-913753299
@nic-chen
as the project detail suggests,we need to add a command line tool for APISIX
is it that we need to make something like `make cache-verify`?
Also,do you have any advice on implementing this part?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] RedemptionC commented on issue #4994: feat: add cache verification tool for APISIX
Posted by GitBox <gi...@apache.org>.
RedemptionC commented on issue #4994:
URL: https://github.com/apache/apisix/issues/4994#issuecomment-913753299
@nic-chen
as the project detail suggests,we need to add a command line tool for APISIX
is it that we need to make something like `make cache-verify`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] RedemptionC commented on issue #4994: feat: add cache verification tool for APISIX
Posted by GitBox <gi...@apache.org>.
RedemptionC commented on issue #4994:
URL: https://github.com/apache/apisix/issues/4994#issuecomment-914112201
@nic-chen
thanks
I'll do that
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] nic-chen commented on issue #4994: feat: add cache verification tool for APISIX
Posted by GitBox <gi...@apache.org>.
nic-chen commented on issue #4994:
URL: https://github.com/apache/apisix/issues/4994#issuecomment-913982412
@RedemptionC
As @spacewander said, you could expose data through the Control API.
Btw, you should do some research, and rewrite a proposal, then others could give you advice.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] spacewander commented on issue #4994: feat: add cache verification tool for APISIX
Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #4994:
URL: https://github.com/apache/apisix/issues/4994#issuecomment-913939042
Since you want to get the state from a live APISIX process, you may need to add some APIs to expose synced data via https://github.com/apache/apisix/blob/master/docs/en/latest/control-api.md#get-v1healthcheck
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org