Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.7.3
-
None
-
None
Description
readLock(); boolean success = true; ContentSummary cs; try { checkOperation(OperationCategory.READ); cs = FSDirStatAndListingOp.getContentSummary(dir, src); } catch (AccessControlException ace) { success = false; logAuditEvent(success, operationName, src); throw ace; } finally { readUnlock(operationName); }
It would be nice to have audit logging outside the lock esp. in scenarios where applications hammer a given operation several times.