[
https://issues.apache.org/jira/browse/RATIS-2189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17898735#comment-17898735
]
Tsz-wo Sze edited comment on RATIS-2189 at 11/15/24 9:22 PM:
-------------------------------------------------------------
bq. We are using Ozone 1.4.1 and Ratis 3.1.1. ...
Actually, your versions are quite new. They should already have HDDS-9081 and
RATIS-1868.
was (Author: szetszwo):
bq. We are using Ozone 1.4.1 and Ratis 3.1.1. ...
Actually, your versions is quite new. They should already have HDDS-9081 and
RATIS-1868.
> Use ByteBufAllocator#ioBuffer in NettyDataStreamUtils
> -----------------------------------------------------
>
> Key: RATIS-2189
> URL: https://issues.apache.org/jira/browse/RATIS-2189
> Project: Ratis
> Issue Type: Improvement
> Components: Streaming
> Reporter: Ivan Andika
> Assignee: Ivan Andika
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Currently, NettyDataStreamUtils uses ByteBufAllocator#directBuffer which
> forces all ByteBufAllocator to allocate direct buffer even forĀ
> PreferHeapByteBufAllocator (e.g. when we set
> -Dorg.apache.ratis.thirdparty.io.netty.noPreferDirect=true).
> It's better to use ioBuffer and delegates to the actual ByteBufAllocator to
> the type of memory it will use.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)