Skip to content

Commit

Permalink
Address Hemant's comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
smengcl committed Aug 15, 2023
1 parent 2bb42d7 commit 8a6eaa8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,7 @@ public boolean equals(Object o) {
snapshotPath.equals(that.snapshotPath) &&
checkpointDir.equals(that.checkpointDir) &&
Objects.equals(deepClean, that.deepClean) &&
Objects.equals(sstFiltered, that.sstFiltered) &&
Objects.equals(referencedSize, that.referencedSize);
}

Expand All @@ -622,6 +623,6 @@ public int hashCode() {
snapshotStatus,
creationTime, deletionTime, pathPreviousSnapshotId,
globalPreviousSnapshotId, snapshotPath, checkpointDir,
deepClean, referencedSize);
deepClean, sstFiltered, referencedSize);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ private static FileStatusAdapter getFileStatusAdapterForBucketSnapshot(
Path path = new Path(pathStr);
return new FileStatusAdapter(
ozoneSnapshot.getReferencedSize(), ozoneSnapshot.getReferencedSize(),
path, true, (short)0, 0L,
path, true, (short) 0, 0L,
ozoneSnapshot.getCreationTime(), 0L,
FsPermission.getDirDefault().toShort(),
owner, group, null, new BlockLocation[0],
Expand Down

0 comments on commit 8a6eaa8

Please sign in to comment.