[
https://issues.apache.org/jira/browse/ZOOKEEPER-4548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17938209#comment-17938209
]
Kezhu Wang commented on ZOOKEEPER-4548:
---------------------------------------
Find a probably related test failure for this.
https://github.com/apache/zookeeper/actions/runs/14057030144/job/39358711128#step:6:652
{noformat}
[ERROR] EagerACLFilterTest.testCreate2Fail:187 OutstandingRequests not
decremented ==> expected: <0> but was: <-1>
{noformat}
> 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
> Priority: Minor
>
> {{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.10#820010)