[
https://issues.apache.org/jira/browse/KAFKA-15499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kirk True updated KAFKA-15499:
------------------------------
Summary: Fix the flaky
DeleteSegmentsDueToLogStartOffsetBreachTest.executeTieredStorageTest (was: Fix
the flaky DeleteSegmentsDueToLogStartOffsetBreachTest)
> Fix the flaky
> DeleteSegmentsDueToLogStartOffsetBreachTest.executeTieredStorageTest
> ----------------------------------------------------------------------------------
>
> Key: KAFKA-15499
> URL: https://issues.apache.org/jira/browse/KAFKA-15499
> Project: Kafka
> Issue Type: Test
> Affects Versions: 3.6.0
> Reporter: Kamal Chandraprakash
> Assignee: Kamal Chandraprakash
> Priority: Major
> Fix For: 3.6.0
>
>
> Flaky test failure is reported in
> [https://github.com/apache/kafka/pull/14330#issuecomment-1717195473]
> {code:java}
> java.lang.AssertionError: [BrokerId=0] The base offset of the first log
> segment of topicA-0 in the log directory is 7 which is smaller than the
> expected offset 8. The directory of topicA-0 is made of the following files:
> leader-epoch-checkpoint
> 00000000000000000009.timeindex
> remote_log_snapshot
> 00000000000000000009.index
> 00000000000000000007.timeindex
> 00000000000000000007.index
> 00000000000000000007.snapshot
> 00000000000000000005.snapshot
> 00000000000000000009.log
> partition.metadata
> 00000000000000000009.snapshot
> 00000000000000000007.log
> at
> org.apache.kafka.tiered.storage.utils.BrokerLocalStorage.waitForOffset(BrokerLocalStorage.java:118)
> at
> org.apache.kafka.tiered.storage.utils.BrokerLocalStorage.waitForEarliestLocalOffset(BrokerLocalStorage.java:77)
> at
> org.apache.kafka.tiered.storage.actions.ProduceAction.doExecute(ProduceAction.java:121)
> at
> org.apache.kafka.tiered.storage.TieredStorageTestAction.execute(TieredStorageTestAction.java:25)
> at
> org.apache.kafka.tiered.storage.TieredStorageTestHarness.executeTieredStorageTest(TieredStorageTestHarness.java:177){code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)