[ 
https://issues.apache.org/jira/browse/KAFKA-14917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17713794#comment-17713794
 ] 

Justine Olshan commented on KAFKA-14917:
----------------------------------------

Turns out we set state to pending when we are adding ANY new partition. So for 
now we will allow checks if current state is ongoing and pending state is 
ongoing, since any partition in txnMetadata have been added and persisted. 

We may need to consider retries for other cases.

> Producer write while transaction is pending.
> --------------------------------------------
>
>                 Key: KAFKA-14917
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14917
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Justine Olshan
>            Assignee: Justine Olshan
>            Priority: Major
>
> As discovered in KAFKA-14904, we seem to get into a state where we try to 
> write to a partition while the ongoing state is still pending.
> This is likely a bigger issue than the test and worth looking in to.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to