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

Ivan Veselovsky commented on IGNITE-1777:
-----------------------------------------

Q: 
how much space should we reserve? The output stream has no info on how much 
butes are to be written, so this count is not predictable. We may use linear 
(constant size increment) or exponential (each time reserve the current file 
length) . Exp reservation is likely preferable since it gives better 
performance.

> IGFS: write files with fail-safe logic: "lock" -> "reserve space" -> "write" 
> -> "size update, unlock"
> -----------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-1777
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1777
>             Project: Ignite
>          Issue Type: Sub-task
>            Reporter: Ivan Veselovsky
>            Assignee: Ivan Veselovsky
>             Fix For: 1.5
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to