ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-1510) IGFS: Weird format() and remove() semantics.
Date Thu, 21 Jul 2016 11:36:20 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-1510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Vladimir Ozerov updated IGNITE-1510:
    Assignee:     (was: Vladimir Ozerov)

> IGFS: Weird format() and remove() semantics.
> --------------------------------------------
>                 Key: IGNITE-1510
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1510
>             Project: Ignite
>          Issue Type: Task
>          Components: hadoop
>    Affects Versions: 1.1.4
>            Reporter: Vladimir Ozerov
>            Priority: Critical
> Currently we have two methods to remove something from IGFS:
> 1) remove - performs soft delete for PRIMARY mode and hard delete for others
> 2) format - delete of all IGFS data without touching seocndary file system, which can
be either soft or hard depending on some very coutner-intuitive conditions.
> I think we should do the following:
> 1) remove operation stays as is.
> 2) format method is deprecated and just falls-back to a new method "clear(ROOT)".
> 3) "clear" operation is semantically identical to cache clear: remove in-memory data,
do not touch persistence layer. Essentially it just moves a tree into the trash just like
remove does. But also this operation will offer sync and async modes. In sync mode operation
exits when all in-memory data is really removed even from trash. 

This message was sent by Atlassian JIRA

View raw message