Skip to content

Commit

Permalink
fix findbugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sadanand Shenoy committed Jan 10, 2025
1 parent 62b9671 commit 6febb6f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,6 @@ protected PurgePathRequest prepareDeleteDirRequest(
keyManager.getPendingDeletionSubFiles(volumeId, bucketId,
pendingDeletedDirInfo, remainingBufLimit);
List<OmKeyInfo> subFiles = subFileDeleteResult.getKeysToDelete();
remainingBufLimit -= subDirDeleteResult.getConsumedSize();

if (LOG.isDebugEnabled()) {
for (OmKeyInfo fileInfo : subFiles) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,6 @@ public BackgroundTaskResult call() {
pendingDeletedDirInfo.getValue(),
pendingDeletedDirInfo.getKey(), allSubDirList,
getOzoneManager().getKeyManager(), remainingBufLimit);
if (request == null) {
break;
}

consumedSize += request.getSerializedSize();
remainingBufLimit -= consumedSize;
Expand Down

0 comments on commit 6febb6f

Please sign in to comment.