You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/05/16 06:30:05 UTC

[jira] [Commented] (KAFKA-5231) TransactinoCoordinator does not bump epoch when aborting open transactions

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

ASF GitHub Bot commented on KAFKA-5231:
---------------------------------------

GitHub user guozhangwang opened a pull request:

    https://github.com/apache/kafka/pull/3066

    KAFKA-5231: Bump up producer epoch when sending abort txn markers on InitPid

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/guozhangwang/kafka K5231-bump-up-epoch-when-abort-txn

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/3066.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3066
    
----
commit 6b5c6cf6042c61e785e9f005ea0b85ff8e5246c1
Author: Guozhang Wang <wa...@gmail.com>
Date:   2017-05-16T06:12:12Z

    bump up producer epoch

----


> TransactinoCoordinator does not bump epoch when aborting open transactions
> --------------------------------------------------------------------------
>
>                 Key: KAFKA-5231
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5231
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Apurva Mehta
>            Assignee: Guozhang Wang
>            Priority: Blocker
>              Labels: exactly-once
>             Fix For: 0.11.0.0
>
>
> When the TransactionCoordinator receives an InitPidRequest when there is an open transaction for a transactional id, it should first bump the epoch and then abort the open transaction.
> Currently, it aborts the open transaction with the existing epoch, hence the old producer is never fenced.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)