Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
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
- is related to
-
HDDS-2939 Ozone FS namespace
- Resolved
- links to