You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "star (Jira)" <ji...@apache.org> on 2020/06/29 07:54:00 UTC
[jira] [Created] (RANGER-2878) Add read write lock to
RangerResourceTrie
star created RANGER-2878:
----------------------------
Summary: Add read write lock to RangerResourceTrie
Key: RANGER-2878
URL: https://issues.apache.org/jira/browse/RANGER-2878
Project: Ranger
Issue Type: Bug
Components: plugins
Affects Versions: 2.0.0
Reporter: star
Assignee: star
Current incremental policy update mechanism may cause issues in two cases.
1. When policy is updated, it is consist of two operations: delete then add. Policy is temporarily unavailable after delete and before add operation. It may cause task failure.
2. RangerResourceTrie is also updated when matching policies (ref RANGER-2760 and RANGER-2761). Without read write lock, it will lead to chaos and inaccurate result.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)