GitHub user bothejjms opened a pull request: https://github.com/apache/zookeeper/pull/563
Fix for ZOOKEEPER-3072 Making the throttle check before passing over the request to the next thread will prevent the possibility of throttling code running after unthrottle Added an additional async hammer thread which is pretty reliably reproduces the race condition. The globalOutstandingLimit is decreased so throttling code is executed. You can merge this pull request into a Git repository by running: $ git pull https://github.com/bothejjms/zookeeper ZOOKEEPER-3072 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zookeeper/pull/563.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #563 ---- commit 0f19de8f8b95992d4e95e3ffa46208c1b12b8cb0 Author: Botond Hejj <botond.hejj@...> Date: 2018-07-06T14:43:18Z Fix for ZOOKEEPER-3072 Making the throttle check before passing over the request to the next thread will prevent the possibility of throttling code running after unthrottle ---- ---