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/10/03 19:34:00 UTC

[jira] [Commented] (KAFKA-8969) Log the partition being made online due to unclean leader election.

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

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

smccauliff commented on pull request #7440: KAFKA-8969 Log the partition being made online due to unclean leader election.
URL: https://github.com/apache/kafka/pull/7440
 
 
   Minor refactor to PartitionLeaderElectionAlgorithms and Election to move side effects outside of PartitionLeaderElectionAlgorithms and into higher level Election.
   
   Added a unit test to the PartitionStateMachine to verify that unclean leader election correctly assigns a partition and increments the ule metric.
   
 
----------------------------------------------------------------
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


> Log the partition being made online due to unclean leader election.
> -------------------------------------------------------------------
>
>                 Key: KAFKA-8969
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8969
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Sean McCauliff
>            Assignee: Sean McCauliff
>            Priority: Major
>
> When unclean leader election happens it's difficult to find which partitions were affected. Knowledge of the affected partitions is sometimes needed when users are doing root cause investigations and want to narrow down the source of data loss.  Without logging this information somewhere it's not possible to know which partitions were affected by ULE.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)