[
https://issues.apache.org/jira/browse/OAK-9840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nitin Gupta closed OAK-9840.
----------------------------
> 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
> Fix For: 1.46.0
>
>
> 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 {{true}} 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)