Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1385

Possible inconsistency with BlobStore list operations w/ and w/o metadata

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: jclouds-blobstore
    • Labels:
      None

      Description

      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?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cstamas Tamás Cservenák
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: