shekhars-li commented on code in PR #1595:
URL: https://github.com/apache/samza/pull/1595#discussion_r842042292
##########
samza-core/src/main/java/org/apache/samza/storage/blobstore/index/DirIndex.java:
##########
@@ -48,6 +51,12 @@ public DirIndex(String dirName,
Preconditions.checkNotNull(filesRemoved);
Preconditions.checkNotNull(subDirsPresent);
Preconditions.checkNotNull(subDirsRemoved);
+ // check to validate that a file is not present in file removed and file
present list
Review Comment:
This is basic sanity check, similar to what we are doing in
[DirDiff](https://github.com/apache/samza/blob/master/samza-core/src/main/java/org/apache/samza/storage/blobstore/diff/DirDiff.java#L84).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]