Jason Gustafson created KAFKA-10826:
---------------------------------------

             Summary: Ensure raft io thread wakes up after linger expiration
                 Key: KAFKA-10826
                 URL: https://issues.apache.org/jira/browse/KAFKA-10826
             Project: Kafka
          Issue Type: Sub-task
            Reporter: Jason Gustafson
            Assignee: Jason Gustafson


When scheduling an append, we currently only wakeup the IO thread after the 
batch is ready to drain. If the IO thread is blocking in `poll()`, there is no 
guarantee that it will get woken up by a subsequent append. We need to ensure 
that the thread gets woken up at least once when the linger timer starts 
ticking so that the IO thread will be ready when the batch is ready to drain.



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

Reply via email to