You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ivan Veselovsky (JIRA)" <ji...@apache.org> on 2015/10/22 20:57:27 UTC

[jira] [Commented] (IGNITE-1777) IGFS: write files with fail-safe logic: "lock" -> "reserve space" -> "write" -> "size update, unlock"

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