1
0

[HUDI-2366] fix too many logs (#3543)

This commit is contained in:
ayachi_nene
2021-08-26 16:45:52 +08:00
committed by GitHub
parent 486bc7dc3b
commit be57e42200

View File

@@ -354,7 +354,6 @@ public abstract class AbstractTableFileSystemView implements SyncableFileSystemV
protected boolean isFileSliceAfterPendingCompaction(FileSlice fileSlice) {
Option<Pair<String, CompactionOperation>> compactionWithInstantTime =
getPendingCompactionOperationWithInstant(fileSlice.getFileGroupId());
LOG.info("Pending Compaction instant for (" + fileSlice + ") is :" + compactionWithInstantTime);
return (compactionWithInstantTime.isPresent())
&& fileSlice.getBaseInstantTime().equals(compactionWithInstantTime.get().getKey());
}