Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-4593

Refine IAccessAuthorizer interface to do recursive ACL check on a path

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • None

    Description

      OM server is presently doing ACL check access for each path separately. This will become too costly RPC calls assume if user performs recursive delete on a path where there are millions of sub-directories under this path.

      The idea/proposal is to refine #checkAccess interface by giving "recursiveDelete" hint and make only one single call and the implementation classes(native or external entity) can do recursive logic in an optimized way.

       

      IAccessAuthorizer#checkAccess(IOzoneObj ozoneObject, RequestContext context)
      
      public class RequestContext {
           …...
           private final boolean recursiveDelete; // add new attribute
      }
      

      Attachments

        Issue Links

          Activity

            People

              rakeshr Rakesh Radhakrishnan
              rakeshr Rakesh Radhakrishnan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: