You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Sagar Rao (Jira)" <ji...@apache.org> on 2023/01/21 12:00:00 UTC

[jira] [Resolved] (KAFKA-10652) Raft leader should flush accumulated writes after a min size is reached

     [ https://issues.apache.org/jira/browse/KAFKA-10652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagar Rao resolved KAFKA-10652.
-------------------------------
    Resolution: Won't Fix

Not sure this is needed anymore.

> Raft leader should flush accumulated writes after a min size is reached
> -----------------------------------------------------------------------
>
>                 Key: KAFKA-10652
>                 URL: https://issues.apache.org/jira/browse/KAFKA-10652
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Jason Gustafson
>            Assignee: Sagar Rao
>            Priority: Major
>
> In KAFKA-10601, we implemented linger semantics similar to the producer to let the leader accumulate a batch of writes before fsyncing them to disk. Currently the fsync is only based on the linger time, but it would be helpful to make it size-based as well. In other words, if we accumulate a configurable N bytes, then we should not wait for linger expiration and should just fsync immediately.



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