You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fluss.apache.org by "wolfkill (via GitHub)" <gi...@apache.org> on 2026/07/22 03:22:42 UTC
Re: [I] Test KvSnapshotITCase.testKvSnapshotAndDelete is unstable [fluss]
wolfkill commented on issue #1027:
URL: https://github.com/apache/fluss/issues/1027#issuecomment-5041459337
Opened a draft PR to fix this flaky test: https://github.com/apache/fluss/pull/3731
The change avoids relying on the periodic KV snapshot scheduler. The test now waits until the leader high watermark reaches the expected snapshot log offset before explicitly triggering each snapshot, so `KvTabletSnapshotTarget.initSnapshot()` sees flushed KV data and does not legitimately skip snapshot creation.
Validation:
- `git diff --check`
- `JAVA_HOME=/Users/cc/Library/Java/JavaVirtualMachines/corretto-18.0.2/Contents/Home mvn -pl fluss-server -am -Dtest=KvSnapshotITCase#testKvSnapshotAndDelete -DfailIfNoTests=false -DskipITs=false test`
- repeated the same targeted Maven command a second time
Both targeted runs passed with `Tests run: 1, Failures: 0, Errors: 0, Skipped: 0`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org