shantanukawale-stripe commented on PR #23880:
URL: https://github.com/apache/kafka/pull/23880#issuecomment-6288154946
Validation on Apache Kafka trunk `8e46092edac3e837972ee13b40dcc149e7113ae7`
(4.5.0-SNAPSHOT), October 20, 2026, using Java 17:
- With production code unchanged and only the new regression added,
`testFetchOffsetByTimestampContinuesAfterEmptyEligibleSegment` fails: expected
the record at offset 2, received an empty result.
- With the fix applied, the same regression passes.
- All 243 tests in `UnifiedLogTest` (208) and `LogSegmentTest` (35) pass,
with zero skipped tests and retries disabled.
- `storage:spotlessCheck`, `storage:checkstyleMain`,
`storage:checkstyleTest`, and `storage:spotbugsMain` pass.
The submitted branch was rebased onto that exact trunk revision and its
tracked files were verified identical to the passing validation worktree.
Commands:
```bash
# Before the fix: add only the regression test to trunk.
./gradlew :storage:test \
--tests
org.apache.kafka.storage.internals.log.UnifiedLogTest.testFetchOffsetByTimestampContinuesAfterEmptyEligibleSegment
\
--console=plain --max-workers=4 -PmaxParallelForks=1 -PmaxTestRetries=0
# After applying the fix; the test task also runs Checkstyle and SpotBugs.
./gradlew :storage:test \
--tests org.apache.kafka.storage.internals.log.UnifiedLogTest \
--tests org.apache.kafka.storage.internals.log.LogSegmentTest \
:storage:spotlessCheck \
--console=plain --max-workers=4 -PmaxParallelForks=1 -PmaxTestRetries=0
```
The full storage suite and a live broker integration test were not rerun as
part of this validation.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]