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 2020/11/24 14:03:00 UTC
[jira] [Resolved] (RATIS-1175) DataStreamOutput should support
FileChannel#transferTo
[ https://issues.apache.org/jira/browse/RATIS-1175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz-wo Sze resolved RATIS-1175.
-------------------------------
Fix Version/s: 1.1.0
Resolution: Fixed
> DataStreamOutput should support FileChannel#transferTo
> ------------------------------------------------------
>
> Key: RATIS-1175
> URL: https://issues.apache.org/jira/browse/RATIS-1175
> Project: Ratis
> Issue Type: Sub-task
> Components: client, Streaming
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Major
> Fix For: 1.1.0
>
> Time Spent: 4h 40m
> Remaining Estimate: 0h
>
> As mentioned by [~yjxxtd] in this comment, we should support the Java API [FileChannel#transferTo|https://docs.oracle.com/javase/8/docs/api/java/nio/channels/FileChannel.html#transferTo-long-long-java.nio.channels.WritableByteChannel-], i.e. sendfile of linux, which used by kafka, since it is efficient.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)