Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-2878

Add read write lock to RangerResourceTrie

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0
    • None
    • plugins
    • None

    Description

      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 operation 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.

      Attachments

        Activity

          People

            starphin star
            starphin star
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: