1
0

[HUDI-1428] Clean old fileslice is invalid (#2292)

Co-authored-by: zhang wen <wen.zhang@dmall.com>
Co-authored-by: zhang wen <steven@stevendeMac-mini.local>
This commit is contained in:
steven zhang
2020-12-13 22:28:53 +08:00
committed by GitHub
parent 236d1b0dec
commit 11bc1fe6f4
2 changed files with 45 additions and 1 deletions

View File

@@ -80,7 +80,7 @@ public class CleanPlanner<T extends HoodieRecordPayload, I, K, O> implements Ser
public CleanPlanner(HoodieTable<T, I, K, O> hoodieTable, HoodieWriteConfig config) {
this.hoodieTable = hoodieTable;
this.fileSystemView = hoodieTable.getHoodieView();
this.commitTimeline = hoodieTable.getCompletedCommitTimeline();
this.commitTimeline = hoodieTable.getCompletedCommitsTimeline();
this.config = config;
this.fgIdToPendingCompactionOperations =
((SyncableFileSystemView) hoodieTable.getSliceView()).getPendingCompactionOperations()