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

Fix potential performance issue introduced by RANGER-1181

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7.0, 0.7.1
    • 0.7.0
    • plugins
    • None

    Description

      Fix in RANGER-1181 added fallback to native authorizer for each level - parent/ancestor/self/subAccess. In the newly added fallback cases, FsAction.NONE was sent to the default authorizer - which caused the default authorizer to traverse the entire sub-tree to validate subAccess. This can cause performance issues, if the subtree has large number of files/directories.

      Calls to default authorizer should send null, instead of FsAction.NONE - this will eliminate the unnecessary subtree traversal.

      CC: arpitagarwal

      Attachments

        Activity

          People

            abhayk Abhay Kulkarni
            madhan Madhan Neethiraj
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: