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)