nic-6443 opened a new pull request, #13950:
URL: https://github.com/apache/apisix/pull/13950

   When delayed Redis synchronization refreshes an expired or missing cached 
quota, it flushes pending local requests to Redis and subtracts the same delta 
again while evaluating the current request. This can reject a request with 
quota still available and accept the next request.
   
   Clear the request's local delta after a successful shared-memory refresh. 
Add Redis regression coverage for fixed and sliding windows, including expired 
and missing caches, and document the refresh behavior in English and Chinese.
   
   - [x] Explained the problem and the change.
   - [x] Added regression tests covering admission and the final Redis count.
   - [x] Updated the documentation.
   - [x] Preserved configuration and storage compatibility.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to