ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Kovalenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-8748) All FileIO#write methods should return number of written bytes
Date Thu, 14 Jun 2018 14:38:00 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-8748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16512550#comment-16512550
] 

Pavel Kovalenko commented on IGNITE-8748:
-----------------------------------------

[~astelmak] Looks good, ready to merge.

> 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)

Mime
View raw message