Kezhu Wang created ZOOKEEPER-4548:
-------------------------------------
Summary: Negative ZooKeeperServer#getInProcess
Key: ZOOKEEPER-4548
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4548
Project: ZooKeeper
Issue Type: Bug
Components: server
Reporter: Kezhu Wang
{{ZooKeeperServer#submitRequestNow}} passes request to
{{firstProcessor.processRequest}} before {{incInProcess}}. This could make
{{getInProcess}} negative after asynchronous {{decInProcess}} if there is long
pause between {{firstProcessor.processRequest}} and {{incInProcess}} due to
potential heavy loading.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)