[ 
https://issues.apache.org/jira/browse/OAK-8071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16774888#comment-16774888
 ] 

Michael Dürig commented on OAK-8071:
------------------------------------

My concern is about missing a thread that might get queued: when a permit is 
available when checking but then later the lock is already taken by another 
thread. In this case the thread waiting for the lock will not be marked as 
queued.

When we remove this extra check all threads will go through this virtual queue. 
Just that most threads will get unqueued quickly again.

> Logging to detect commits carrying over from previous GC generation can block 
> other threads from committing
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: OAK-8071
>                 URL: https://issues.apache.org/jira/browse/OAK-8071
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: segment-tar
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>            Priority: Blocker
>             Fix For: 1.12, 1.11.0, 1.10.1, 1.8.12
>
>
> Add logging / monitoring to detect the situation from OAK-8014.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to