kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajini Sivaram (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KAFKA-5289) One StopReplicaRequest will caused two Responses
Date Mon, 22 May 2017 12:40:05 GMT

     [ https://issues.apache.org/jira/browse/KAFKA-5289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rajini Sivaram updated KAFKA-5289:
----------------------------------
       Resolution: Fixed
    Fix Version/s: 0.11.1.0
           Status: Resolved  (was: Patch Available)

Issue resolved by pull request 3096
[https://github.com/apache/kafka/pull/3096]

> One StopReplicaRequest will caused two Responses
> ------------------------------------------------
>
>                 Key: KAFKA-5289
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5289
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.10.0.0
>            Reporter: xuzq
>            Assignee: Ismael Juma
>            Priority: Critical
>             Fix For: 0.11.0.0, 0.11.1.0
>
>         Attachments: handleStopReplicaRequest.png, KAFKA-5289.patch
>
>
> After discussed with my friend markTC´╝îwe find a bug.
> One StopReplicaRequest will caused two Responses.
> At core/src/main/scala/kafka/server/KafkaApi.class 175 and 176 lines.
> When an exception caused at 'replicaManager.replicaFetcherManager.shutdownIdleFetcherThreads()',

> will also return two responses.
> one is at 175 lines 'requestChannel.sendResponse(new RequestChannel.Response(request,
new ResponseSend(request.connectionId, responseHeader, response)))' and another at 111 lines
'requestChannel.sendResponse(new Response(request, new ResponseSend(request.connectionId,
respHeader, response)))'.



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

Mime
View raw message