@@ -3321,10 +3321,10 @@ public class FSNamesystem implements Namesystem, FSNamesystemMBean,
throw e;
}
getEditLog().logSync();
+ logAuditEvent(true, operationName, src);
if (toRemovedBlocks != null) {
removeBlocks(toRemovedBlocks); // Incremental deletion of blocks
- logAuditEvent(true, operationName, src);
return ret;