kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Onur Karaman (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (KAFKA-6146) minimize the number of triggers enqueuing PreferredReplicaLeaderElection events
Date Tue, 07 Nov 2017 21:46:01 GMT

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

Onur Karaman reassigned KAFKA-6146:
-----------------------------------

    Assignee: Onur Karaman

> minimize the number of triggers enqueuing PreferredReplicaLeaderElection events
> -------------------------------------------------------------------------------
>
>                 Key: KAFKA-6146
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6146
>             Project: Kafka
>          Issue Type: Sub-task
>    Affects Versions: 1.1.0
>            Reporter: Jun Rao
>            Assignee: Onur Karaman
>             Fix For: 1.1.0
>
>
> We currently enqueue a PreferredReplicaLeaderElection controller event in PreferredReplicaElectionHandler's
handleCreation, handleDeletion, and handleDataChange. We can just enqueue the event upon znode
creation and after preferred replica leader election completes. The processing of this latter
enqueue will register the exist watch on PreferredReplicaElectionZNode and perform any pending
preferred replica leader election that may have occurred between completion and registration.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message