You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Taras Ledkov (JIRA)" <ji...@apache.org> on 2016/09/07 05:23:21 UTC

[jira] [Commented] (IGNITE-3400) IGFS: Does not correctly deallocate free space in courner case.

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

Taras Ledkov commented on IGNITE-3400:
--------------------------------------

{{[IgfsDataManager.processPartialBlockWrite|https://github.com/gridgain/apache-ignite/blob/sprint-2/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsDataManager.java#L1081]}} completes the future if the size limit is exceeded. Then the *format()* method doesn't remove entries of this file from the data cache.

When the feature completion is normal and the completion with {{IgfsOutOfSpaceException}} doesn't work the clean up works properly.

I heard that the limits logic will be redesigned soon. Should the issue is fixed now or with limits redesign?

> IGFS: Does not correctly deallocate free space in courner case.
> ---------------------------------------------------------------
>
>                 Key: IGNITE-3400
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3400
>             Project: Ignite
>          Issue Type: Bug
>          Components: IGFS
>    Affects Versions: 1.7
>            Reporter: Vasiliy Sisko
>            Assignee: Taras Ledkov
>             Fix For: 1.8
>
>
> Steps to reproduce:
> 1) Run node with configured IGFS limited by max space (f.e. 104857600).
> 2) Copy to IGFS file with size less than IGFS space size. (f.e. 10-15 Mb)
> 3) Copy to IGFS file with size more than free space size.
>   Second file have 0 size in IGFS. Used IGFS size approximately equal to the IGFS space size.
> 4) Copy to IGFS file with size less than expected IGFS free space size. (f.e. 10-15 Mb)
>   New file have 0 size.
> 5) Remove all files of format IGFS
>   IGFS free space approximately equal to the size of first file.



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