José Armando García Sancio created KAFKA-18751:
--------------------------------------------------

             Summary: Complete delayed FETCH request when HWM is increased.
                 Key: KAFKA-18751
                 URL: https://issues.apache.org/jira/browse/KAFKA-18751
             Project: Kafka
          Issue Type: Improvement
          Components: kraft
            Reporter: José Armando García Sancio
            Assignee: José Armando García Sancio


It is possible for HWM propagation to get delayed if the the HWM is increased 
and there are no new data in the log.

One solution to this problem is for the leader to track the last HWM sent to 
the replicas and immediately reply to FETCH request if the HWM is greater than 
the previously sent HWM.

 

One issue with this solution is that the leader doesn't have a reliable way of 
determining that an empty FETCH response made it to the remote replica. This 
can be address if the FETCH request also include the remotes replica HWM.

 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to