Skip to content

Commit

Permalink
Core: Clear deleted files set between commit attempts for simple tran…
Browse files Browse the repository at this point in the history
…saction
  • Loading branch information
amogh-jahagirdar committed Sep 7, 2023
1 parent 38e1c33 commit 9176544
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/java/org/apache/iceberg/BaseTransaction.java
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ private void commitSimpleTransaction() {
.onlyRetryOn(CommitFailedException.class)
.run(
underlyingOps -> {
deletedFiles.clear();
applyUpdates(underlyingOps);

underlyingOps.commit(base, current);
Expand Down

0 comments on commit 9176544

Please sign in to comment.