[
https://issues.apache.org/jira/browse/OAK-9262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17219090#comment-17219090
]
Marcel Reutegger commented on OAK-9262:
---------------------------------------
Test added to SessionStatsTest reproduces the problem: [^OAK-9262-test.patch]
> Incorrect session counter metric on concurrent logout
> -----------------------------------------------------
>
> Key: OAK-9262
> URL: https://issues.apache.org/jira/browse/OAK-9262
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: jcr
> Affects Versions: 1.34.0
> Reporter: Marcel Reutegger
> Priority: Minor
> Attachments: OAK-9262-test.patch
>
>
> The session counter metric can become incorrect when Session.logout() is
> called from multiple threads. It may even result in a negative session count
> when this happens enough often.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)