You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Andrew Gaul (JIRA)" <ji...@apache.org> on 2016/02/01 21:42:39 UTC
[jira] [Commented] (JCLOUDS-262) filesystem blobstore
clearContainer doesn't respect ListContainerOptions.inDirectory()
[ 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
(v6.3.4#6332)