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 2020/12/08 20:13:00 UTC
[jira] [Created] (KAFKA-10826) Ensure raft io thread wakes up after
linger expiration
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)