The GitHub Actions job "Check License" on 
fluss.git/fix/periodic-snapshot-off-by-one has succeeded.
Run started by GitHub user platinumhamburg (triggered by platinumhamburg).

Head commit for run:
f9f751153e6816a51135b44c4d66d2a4a076309a / 白鵺 <[email protected]>
[FLUSS] Fix PeriodicSnapshotManager.start() off-by-one: initialDelay=0 silently 
disables snapshot

When murmurHash(tableBucket.hashCode()) % snapshotInterval == 0, initialDelay
is 0. The original guard `initialDelay > 0` incorrectly treats this as
"snapshot disabled", causing the affected TableBucket to never take snapshots.

Fix: check `snapshotIntervalSupplier.getAsLong() > 0` to determine whether
snapshot is enabled, and use `Math.max(initialDelay, 1)` to avoid zero delay.

Report URL: https://github.com/apache/fluss/actions/runs/23840452200

With regards,
GitHub Actions via GitBox

Reply via email to