jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Gaul (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-262) filesystem blobstore clearContainer doesn't respect ListContainerOptions.inDirectory()
Date Mon, 01 Feb 2016 20:42:39 GMT

    [ https://issues.apache.org/jira/browse/JCLOUDS-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15126990#comment-15126990

Andrew Gaul commented on JCLOUDS-262:

[~alwindoss] This bug is a dated since we have deprecated directory support.  jclouds now
supports the more common prefix and delimiter options, although the same issue [~kevin.krouse]
reported is valid for those options.  I suggest the following:

* raise {{UnsupportedOperationException}} in {{FilesystemStorageStrategyImpl.clearContainer}}
when using directories to avoid unexpected data loss
* add {{clearContainer}} prefix and delimiter tests to {{BaseContainerIntegrationTest}}
* add support for these in {{FilesystemStorageStrategyImpl.clearContainer}}
* run tests with {{mvn integration-test -pl :filesystem}}

> filesystem blobstore clearContainer doesn't respect ListContainerOptions.inDirectory()
> --------------------------------------------------------------------------------------
>                 Key: JCLOUDS-262
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-262
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-blobstore
>    Affects Versions: 1.6.0
>            Reporter: Kevin Krouse
>            Priority: Critical
>              Labels: filesystem
> The filesystem blobstore provider deletes all files under the container root directory
even if the ListContainerOptions.inDirectory() option is used.

This message was sent by Atlassian JIRA

View raw message