jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cservenak, Tamas (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCLOUDS-1385) Possible inconsistency with list operations w/ and w/o metadata
Date Mon, 19 Feb 2018 14:19:00 GMT
Cservenak, Tamas created JCLOUDS-1385:
-----------------------------------------

             Summary: Possible inconsistency with list operations w/ and w/o metadata
                 Key: JCLOUDS-1385
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1385
             Project: jclouds
          Issue Type: Bug
            Reporter: Cservenak, Tamas


When you do a "list" on a folder, depending do you ask for blob metadata or not, you get different
results. If you DO ask for metadata too, you will get only blobs in result, while if you DO
NOT ask for metadata, you will get blobs and sub-folders too in result.

I suspect that the reason of this is the predicate filtering (input.getType() == StorageType.BLOB)
in class FetchBlobMetadata.

I guess it may be optimised to not call into blobstore.blobMetadata for input.getType() !=
StorageType.BLOB?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message