kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-5341) Add UnderMinIsrPartitionCount and per-partition UnderMinIsr metrics
Date Wed, 26 Jul 2017 17:34:00 GMT

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

ASF GitHub Bot commented on KAFKA-5341:

GitHub user lindong28 opened a pull request:


    KAFKA-5341; Add UnderMinIsrPartitionCount and per-partition UnderMinIsr metrics (KIP-164)


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

    $ git pull https://github.com/lindong28/kafka KAFKA-5341

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


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

    This closes #3583
commit 93f541c249def6bdc158cb79592278d18cdf3ff8
Author: Dong Lin <lindong28@gmail.com>
Date:   2017-05-28T08:10:28Z

    KAFKA-5341; Add UnderMinIsrPartitionCount and per-partition UnderMinIsr metrics (KIP-164)


> Add UnderMinIsrPartitionCount and per-partition UnderMinIsr metrics
> -------------------------------------------------------------------
>                 Key: KAFKA-5341
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5341
>             Project: Kafka
>          Issue Type: New Feature
>            Reporter: Dong Lin
>            Assignee: Dong Lin
> We currently have under replicated partitions, but we do not have a metric to track the
number of partitions whose in-sync replicas count < minIsr. Partitions whose in-syn replicas
count < minIsr will be unavailable to those producers who uses ack = all. It is important
for Kafka operators to be notified of the existence of such partition because their existence
reduces the availability of the Kafka service.
> More specifically, we can define a per-broker metric UnderMinIsrPartitionCount as "The
number of partitions that this broker leads for which in-sync replicas count < minIsr."
So if the RF was 3, and min ISR is 2, then when there are 2 replicas in ISR this partition
would be in the under replicated partitions count. When there is 1 replica in ISR, this partition
would also be in the UnderMinIsrPartitionCount.
> See https://cwiki.apache.org/confluence/display/KAFKA/KIP-164-+Add+UnderMinIsrPartitionCount+and+per-partition+UnderMinIsr+metrics
for more detail.

This message was sent by Atlassian JIRA

View raw message