Skip to content

Commit

Permalink
Core: Reduce unnecessary add operations in deletedPaths set (#8868)
Browse files Browse the repository at this point in the history
  • Loading branch information
bknbkn authored Oct 25, 2023
1 parent 9b9b22d commit aa891ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -450,8 +450,8 @@ private ManifestFile filterManifestWithDeletedFiles(
// only add the file to deletes if it is a new delete
// this keeps the snapshot summary accurate for non-duplicate data
deletedFiles.add(entry.file().copyWithoutStats());
deletedPaths.add(wrapper);
}
deletedPaths.add(wrapper);
} else {
writer.existing(entry);
}
Expand Down

0 comments on commit aa891ac

Please sign in to comment.