You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/03/07 09:41:00 UTC

[jira] [Commented] (KAFKA-8061) Use forceClose flag to check in the loop inside maybeWaitForProducerId.

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

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

omkreddy commented on pull request #6388: KAFKA-8061: Use forceClose flag to check in the loop inside maybeWaitForProducerId.
URL: https://github.com/apache/kafka/pull/6388
 
 
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Use forceClose flag to check in the loop inside maybeWaitForProducerId.
> -----------------------------------------------------------------------
>
>                 Key: KAFKA-8061
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8061
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 2.1.1
>            Reporter: Manikumar
>            Assignee: Manikumar
>            Priority: Major
>
> In KAFKA-5503, we have added a check (https://github.com/apache/kafka/pull/5881) for `running` flag in the loop inside maybeWaitForProducerId.  This is to avoid blocking sender thread shutdown call, while we attempt to get the ProducerId.
> This created a corner case where sender thread gets blocked, if we had concurrent producerId reset and shutdown call. The proposed fix is to check the forceClose flag in the loop inside maybeWaitForProducerId.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)