You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Ismael Juma (Jira)" <ji...@apache.org> on 2020/04/20 19:54:00 UTC

[jira] [Commented] (KAFKA-9892) Producer state snapshot needs to be forced to disk

    [ https://issues.apache.org/jira/browse/KAFKA-9892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17088042#comment-17088042 ] 

Ismael Juma commented on KAFKA-9892:
------------------------------------

Do we need `force` semantics here? cc [~hachikuji]

> Producer state snapshot needs to be forced to disk
> --------------------------------------------------
>
>                 Key: KAFKA-9892
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9892
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.6.0
>            Reporter: Jun Rao
>            Priority: Major
>
> Currently, ProducerStateManager.writeSnapshot() only calls fileChannel.close(), but not explicitly fileChannel.force(). It seems force() is not guaranteed to be called on close(). 



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