You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Basil Crow (Jira)" <ji...@apache.org> on 2024/02/23 17:35:00 UTC

[jira] [Commented] (JCLOUDS-1371) LocalBlobStore.list enumerates entire container

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

Basil Crow commented on JCLOUDS-1371:
-------------------------------------

The addition of the {{delimiter}} argument in the last commit broke API compatibility and required me to add the new parameter to my mock implementation of {{LocalStorageStrategy}} in order for my project to compile again. Should this API change be documented before the next release?

> LocalBlobStore.list enumerates entire container
> -----------------------------------------------
>
>                 Key: JCLOUDS-1371
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1371
>             Project: jclouds
>          Issue Type: Improvement
>          Components: jclouds-blobstore
>    Affects Versions: 2.0.3
>            Reporter: Andrew Gaul
>            Assignee: Andrew Gaul
>            Priority: Major
>              Labels: filesystem
>             Fix For: 2.5.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> {{LocalBlobStore.list}} with the filesystem blobstore enumerates the entire container even when prefix and delimiter set.  The File API does not provide a way to list a subset of files except for those within a specific directory and the underlying filesystem makes no guarantees about enumeration order.  We can still optimize the case where prefix is set and delimiter is /.  Reference:
> https://lists.apache.org/thread.html/72e8a101d8a8f99b6f728336633db2cecae1dc443e4c5b195eee8f0d@%3Cuser.jclouds.apache.org%3E



--
This message was sent by Atlassian Jira
(v8.20.10#820010)