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 2022/08/18 15:46:00 UTC
[jira] [Resolved] (RATIS-1586) Set useCacheForAllThreads default to false
[ https://issues.apache.org/jira/browse/RATIS-1586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz-wo Sze resolved RATIS-1586.
-------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
The pull request is now merged.
> Set useCacheForAllThreads default to false
> ------------------------------------------
>
> Key: RATIS-1586
> URL: https://issues.apache.org/jira/browse/RATIS-1586
> Project: Ratis
> Issue Type: Improvement
> Components: gRPC
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Minor
> Fix For: 3.0.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> When the Netty conf org.apache.ratis.thirdparty.io.netty.allocator.useCacheForAllThreads is set to true, it may cause Netty to create a lot garbage objects and, as a result, trigger GC. We found this problem in RATIS-534.
> Unfortunately, the Netty default is true. In this JIRA, we will set it the false in GrpcFactory when the conf is not set.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)