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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • jclouds-blobstore
    • 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

            Unassigned Unassigned
            cstamas Tamas Cservenak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: