diff --git a/Notes b/Notes new file mode 100644 index 000000000000..932e975a86be --- /dev/null +++ b/Notes @@ -0,0 +1,2 @@ +- Do your things based on this project. +- type: note, recode, newcode \ No newline at end of file diff --git a/paimon-core/src/main/java/org/apache/paimon/table/ExpireSnapshotsImpl.java b/paimon-core/src/main/java/org/apache/paimon/table/ExpireSnapshotsImpl.java index f4361481c0c2..e966777d7094 100644 --- a/paimon-core/src/main/java/org/apache/paimon/table/ExpireSnapshotsImpl.java +++ b/paimon-core/src/main/java/org/apache/paimon/table/ExpireSnapshotsImpl.java @@ -130,6 +130,7 @@ public int expireUntil(long earliestId, long endExclusiveId) { // write the hint file in order to see the earliest snapshot directly next time // should avoid duplicate writes when the file exists if (snapshotManager.readHint(SnapshotManager.EARLIEST) == null) { + // askwang-TODO: 这种条件下应该写入 earliestId 为 EARLIEST 值 writeEarliestHint(endExclusiveId); }