[
https://issues.apache.org/jira/browse/OAK-8722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16966672#comment-16966672
]
Julian Reschke edited comment on OAK-8722 at 4/22/20, 1:24 PM:
---------------------------------------------------------------
trunk: (1.20.0) [r1869367|http://svn.apache.org/r1869367]
1.8: [r1876827|http://svn.apache.org/r1876827]
...in retired branches:
1.10: (1.10.7) [r1870084|http://svn.apache.org/r1870084]
was (Author: reschke):
trunk: (1.20.0) [r1869367|http://svn.apache.org/r1869367]
1.10: [r1870084|http://svn.apache.org/r1870084]
> dead locking related code in NodeDelegate.updateMixins
> ------------------------------------------------------
>
> Key: OAK-8722
> URL: https://issues.apache.org/jira/browse/OAK-8722
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: jcr
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Priority: Minor
> Labels: candidate_oak_1_6
> Fix For: 1.20.0, 1.10.7, 1.8.22
>
> Attachments: OAK-8722.diff
>
>
> {noformat}
> // 3. deal with locked nodes
> boolean wasLockable = isNodeType(MIX_LOCKABLE);
> boolean isLockable = isNodeType(MIX_LOCKABLE);
> if (wasLockable && !isLockable && holdsLock(false)) {
> // TODO: This should probably be done in a commit hook
> unlock();
> sessionDelegate.refresh(true);
> }
> {noformat}
> AFAICT, this code block will never be executed. Clean up, [~angela]?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)