ychdesign opened a new issue #3988:
URL: https://github.com/apache/apisix/issues/3988
### Issue description
{
"count": 4000,
"key": "server_addr",
"policy": "redis-cluster",
"redis_cluster_nodes": [],
"rejected_code": 500,
"time_window": 1
}
When the threshold not reached,a few requests are prevented by the
limit-count plugin.
The founction incoming, ttl and incrby opreations are not atomic.
Maybe can use eval() to ensure it.
### Environment
* apisix version (cmd: `apisix version`):
* OS (cmd: `uname -a`):
* OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
* etcd version, if have (cmd: run `curl
http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
* apisix-dashboard version, if have:
### Minimal test code / Steps to reproduce the issue
1.
2.
3.
### What's the actual result? (including assertion message & call stack if
applicable)
### What's the expected result?
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]