You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Manfred Baedke (Jira)" <ji...@apache.org> on 2025/08/07 12:50:00 UTC

[jira] [Comment Edited] (OAK-11845) Make SecureNodeBuilder thread safe

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

Manfred Baedke edited comment on OAK-11845 at 8/7/25 12:49 PM:
---------------------------------------------------------------

[~mreutegg]: SecureNodeBuilder apparently is some kind of an event handler with it's #baseChanged() method. As long as it is, it needs sync. But note that this really is about SecureNodeBuilder only, not about NodeBuilder in general. Just an implementation detail.


was (Author: baedke):
[~mreutegg]: SecureNodeBuilder apparently is some kind of an event handler with it's #baseChanged() method. As long as it is, it needs sync. But note that this really is about SecureNodeBuilder only, not about NodeBuilder in general.

> Make SecureNodeBuilder thread safe
> ----------------------------------
>
>                 Key: OAK-11845
>                 URL: https://issues.apache.org/jira/browse/OAK-11845
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: core
>            Reporter: Manfred Baedke
>            Assignee: Manfred Baedke
>            Priority: Major
>             Fix For: 1.84.0
>
>
> The member variable treePermission in particular may currently been set to null by a concurrent thread calling the method #baseChanged() during the execution of #getTreePermission().



--
This message was sent by Atlassian Jira
(v8.20.10#820010)