You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@fluss.apache.org by GitBox <gi...@apache.org> on 2026/04/01 09:07:27 UTC

[GH] (fluss/fix/periodic-snapshot-off-by-one): Workflow run "Check License" is working again!

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 / 白鵺 <oc...@alibaba-inc.com>
[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