You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "hbprotoss (Jira)" <ji...@apache.org> on 2021/01/26 07:37:00 UTC
[jira] [Updated] (RANGER-3160) RecursivePathResourceMatcher race
condition
[ https://issues.apache.org/jira/browse/RANGER-3160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
hbprotoss updated RANGER-3160:
------------------------------
Attachment: 0001-fix-RecursivePathResourceMatcher-race-condition.patch
> RecursivePathResourceMatcher race condition
> -------------------------------------------
>
> Key: RANGER-3160
> URL: https://issues.apache.org/jira/browse/RANGER-3160
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Affects Versions: 2.1.0
> Reporter: hbprotoss
> Priority: Major
> Attachments: 0001-fix-RecursivePathResourceMatcher-race-condition.patch
>
>
> RecursivePathResourceMatcher init variable _valueWithoutSeparator_ and _valueWithSeparator_ in function isMatch(), which will lead to a race condition that when the matcher is used for the first time and there are multiple threads try to match the resource, _valueWithSeparator_ will be null in some scenario
--
This message was sent by Atlassian Jira
(v8.3.4#803005)