You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexey Stelmak (JIRA)" <ji...@apache.org> on 2018/06/09 15:41:00 UTC
[jira] [Comment Edited] (IGNITE-8748) All FileIO#write methods
should return number of written bytes
[ https://issues.apache.org/jira/browse/IGNITE-8748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16507047#comment-16507047 ]
Alexey Stelmak edited comment on IGNITE-8748 at 6/9/18 3:40 PM:
----------------------------------------------------------------
PR: [https://github.com/apache/ignite/pull/4170]
was (Author: astelmak):
https://github.com/apache/ignite/pull/4170
> All FileIO#write methods should return number of written bytes
> --------------------------------------------------------------
>
> Key: IGNITE-8748
> URL: https://issues.apache.org/jira/browse/IGNITE-8748
> Project: Ignite
> Issue Type: Improvement
> Components: persistence
> Reporter: Sergey Chugunov
> Assignee: Alexey Stelmak
> Priority: Major
> Fix For: 2.6
>
>
> FileIO#write(byte[], int, int) doesn't return a value of written bytes which makes it impossible for callers to detect a situation of no space left on device.
> API should be changed to return written bytes, all callers of this method should adopt changes to be ready to detect "no space left" situation.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)