Skip to content

Commit

Permalink
Merge pull request #216 from DSL-UMD/distributed
Browse files Browse the repository at this point in the history
[ENH] Sync delete
  • Loading branch information
gangliao authored Oct 1, 2019
2 parents 5dd7505 + 34bee15 commit c03a4f2
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3085,6 +3085,10 @@ boolean delete(String src, boolean recursive, boolean logRetryCache)
removeBlocks(toRemovedBlocks); // Incremental deletion of blocks
}
logAuditEvent(true, operationName, src);
String syncStr = System.getenv("SYNC_COMMAND_LOGGING");
if (syncStr != null && Boolean.parseBoolean(syncStr) == true) {
INodeKeyedObjects.syncUpdateDB();
}
return ret;
}

Expand Down

0 comments on commit c03a4f2

Please sign in to comment.