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/04/06 08:20:00 UTC

[GitHub] [apisix] ychdesign opened a new pull request #3990: fix limit-count bug

ychdesign opened a new pull request #3990:
URL: https://github.com/apache/apisix/pull/3990


   ### What this PR does / why we need it:
   通过eval 执行lua脚本,保证ttl和incrby过程的原子性,解决高并发场景下,key恰好在ttl()和incrby()中间过期,少量请求被误杀的情况
   
   ### Pre-submission checklist:
   
   * [x] Did you explain what problem does this PR solve? Or what new features have been added?
   * [ ] Have you added corresponding test cases?
   * [ ] Have you modified the corresponding document?
   * [x] Is this PR backward compatible? **If it is not backward compatible, please discuss on the [mailing list](https://github.com/apache/apisix/tree/master#community) first**
   


-- 
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:
users@infra.apache.org



[GitHub] [apisix] ychdesign closed pull request #3990: fix limit-count bug

Posted by GitBox <gi...@apache.org>.
ychdesign closed pull request #3990:
URL: https://github.com/apache/apisix/pull/3990


   


-- 
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:
users@infra.apache.org