[ 
https://issues.apache.org/jira/browse/RATIS-2383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz-wo Sze resolved RATIS-2383.
-------------------------------
    Fix Version/s: 3.3.0
       Resolution: Fixed

The pull request is now merged.  Thanks, [~ivanandika]!

> AtomicFileOutputStream should override FilterOutputStream batch writes API
> --------------------------------------------------------------------------
>
>                 Key: RATIS-2383
>                 URL: https://issues.apache.org/jira/browse/RATIS-2383
>             Project: Ratis
>          Issue Type: Improvement
>          Components: util
>            Reporter: Ivan Andika
>            Assignee: Ivan Andika
>            Priority: Major
>             Fix For: 3.3.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> [~XiChen] found that AtomicFileOutputStream write is slow because the `
> write(byte b[], int off, int len)` uses FilterOutputStream implementation 
> which calls write(byte b) for each byte. 
>  
> We should override this API and forward it to the underlying OutputStream 
> instead.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to