Skip to content

Commit

Permalink
[core] Fix snapshot EARLIEST first write value (apache#3398)
Browse files Browse the repository at this point in the history
  • Loading branch information
askwang authored Jun 4, 2024
1 parent 88aa434 commit dd19b26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +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) {
writeEarliestHint(endExclusiveId);
writeEarliestHint(earliestId);
}

// fast exit
Expand Down

0 comments on commit dd19b26

Please sign in to comment.