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

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

Jason Gustafson created KAFKA-13091:
---------------------------------------

             Summary: 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: David Arthur


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)