You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2024/08/21 16:58:00 UTC
[jira] [Updated] (RATIS-2142) OOM for stateMachineCache use cases
[ https://issues.apache.org/jira/browse/RATIS-2142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz-wo Sze updated RATIS-2142:
------------------------------
Summary: OOM for stateMachineCache use cases (was: Memory leak for stateMachineCache use cases)
> OOM for stateMachineCache use cases
> -----------------------------------
>
> Key: RATIS-2142
> URL: https://issues.apache.org/jira/browse/RATIS-2142
> Project: Ratis
> Issue Type: Bug
> Components: server
> Affects Versions: 3.1.0
> Reporter: Duong
> Priority: Major
>
> In 3.1.0, with stateMachineCache enabled, the RaftLogCache entries contain a reference to the original RaftClientRequest. This is not supposed to happen as RaftLogCache entries should only refer to the LogEntries with data truncated.
> This problem impacts Apache Ozone. The reference form RaftLogCache entries prevent the original RaftClientRequest (which contains a large data chunk) to be GCed timely. The result is Ozone datanodes quickly run out of heap memory.
> This is not the case with the latest master branch, only with the 3.1.0 release.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)