You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jason Gustafson (Jira)" <ji...@apache.org> on 2021/08/23 18:09:00 UTC

[jira] [Resolved] (KAFKA-13091) Increment HW after shrinking ISR through AlterIsr

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

Jason Gustafson resolved KAFKA-13091.
-------------------------------------
    Fix Version/s: 3.0.1
       Resolution: Fixed

> Increment HW after shrinking ISR through AlterIsr
> -------------------------------------------------
>
>                 Key: KAFKA-13091
>                 URL: https://issues.apache.org/jira/browse/KAFKA-13091
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Jason Gustafson
>            Assignee: Jason Gustafson
>            Priority: Major
>             Fix For: 3.0.1
>
>
> After we have shrunk the ISR, we have an opportunity to advance the high watermark. We do this currently in `maybeShrinkIsr` after the synchronous update through ZK. For the AlterIsr path, however, we cannot rely on this call since the request is sent asynchronously. Instead we should attempt to advance the high watermark in the callback when the AlterIsr response returns successfully.



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