Skip to content

Commit

Permalink
Rollback inflight commits as well when rolling back to savepoint
Browse files Browse the repository at this point in the history
  • Loading branch information
prasannarajaperumal authored and vinothchandar committed Jun 14, 2017
1 parent db6150c commit dda28c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ public boolean rollbackToSavepoint(String savepointTime) {
HoodieTable<T> table = HoodieTable
.getHoodieTable(new HoodieTableMetaClient(fs, config.getBasePath(), true), config);
HoodieActiveTimeline activeTimeline = table.getActiveTimeline();
HoodieTimeline commitTimeline = table.getCompletedCommitTimeline();
HoodieTimeline commitTimeline = table.getCommitTimeline();

HoodieInstant savePoint =
new HoodieInstant(false, HoodieTimeline.SAVEPOINT_ACTION, savepointTime);
Expand Down

0 comments on commit dda28c0

Please sign in to comment.