[
https://issues.apache.org/jira/browse/KAFKA-21030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18111389#comment-18111389
]
Kuan Po Tseng commented on KAFKA-21030:
---------------------------------------
Gentle ping [~chia7712] , may I take over this issue?
> Enhance the test coverage of CleanedTransactionMetadata
> -------------------------------------------------------
>
> Key: KAFKA-21030
> URL: https://issues.apache.org/jira/browse/KAFKA-21030
> Project: Kafka
> Issue Type: Test
> Reporter: Chia-Ping Tsai
> Assignee: Chia-Ping Tsai
> Priority: Minor
>
> {{CleanedTransactionMetadata}} is currently covered only indirectly through
> {{{}LogCleanerTest{}}}.
> Suggested cases:
> * flush with nothing staged is a no-op
> * abort marker with observed batches is retained and its {{AbortedTxn}} is
> flushed
> * abort marker with no observed batches is discarded and nothing is flushed
> * multiple staged txns are flushed in order; a second flush is empty
> * {{IOException}} from {{TransactionIndex.append}} propagates
--
This message was sent by Atlassian Jira
(v8.20.10#820010)