You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "runzhiwang (Jira)" <ji...@apache.org> on 2020/11/18 02:46:00 UTC

[jira] [Updated] (RATIS-1154) Add sync flag when write stream data

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

runzhiwang updated RATIS-1154:
------------------------------
    Summary: Add sync flag when write stream data  (was: Add a flush() API in streaming)

> Add sync flag when write stream data
> ------------------------------------
>
>                 Key: RATIS-1154
>                 URL: https://issues.apache.org/jira/browse/RATIS-1154
>             Project: Ratis
>          Issue Type: Sub-task
>          Components: Streaming
>            Reporter: Shashikant Banerjee
>            Assignee: runzhiwang
>            Priority: Major
>
> In Ozone, for a single block there will be multiple putBlock opertions.  In case of using streaming for block write , ratis log transaction should be created for all these operations() (as happens with stream.close()). In such cases, it would be useful to add a flush() semantic in streaming which ensures one block can be wriiten over a single streaming channel with multiple commits happening in between.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)