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 "Konrad Windszus (Jira)" <ji...@apache.org> on 2022/07/15 14:40:00 UTC

[jira] [Assigned] (OAK-9840) Race condition in MountInfoProviderService

     [ https://issues.apache.org/jira/browse/OAK-9840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus reassigned OAK-9840:
------------------------------------

    Assignee: Konrad Windszus

> Race condition in MountInfoProviderService
> ------------------------------------------
>
>                 Key: OAK-9840
>                 URL: https://issues.apache.org/jira/browse/OAK-9840
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: composite
>    Affects Versions: 1.44.0
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>
> The MountInfoConfig is bound reluctantly in https://github.com/apache/jackrabbit-oak/blob/c424e1c179092594c365034c7b3f6eceb6cf2b42/oak-store-composite/src/main/java/org/apache/jackrabbit/oak/composite/MountInfoProviderService.java#L129, apart from that the check in https://github.com/apache/jackrabbit-oak/blob/c424e1c179092594c365034c7b3f6eceb6cf2b42/oak-store-composite/src/main/java/org/apache/jackrabbit/oak/composite/MountInfoProviderService.java#L140 is incorrect as it returns if all found info configs are part of the array {{expectedMounts}} but what is intended is rather that it only returns true if all entries in the array are contained at least once in the bound configs.



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