[jira] [Created] (IGNITE-8748) All FileIO#write methods should return number of written bytes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-8748) All FileIO#write methods should return number of written bytes

Anton Vinogradov (Jira)
Sergey Chugunov created IGNITE-8748:
---------------------------------------

             Summary: 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
            Reporter: Sergey Chugunov


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)