locked
Unless UseIntegrityControlForStreamReading is set to false CloudPageBlob stream reading triggers a 409 RRS feed

  • Question

  • Hi Azure-Team,

    when I try to read from a CloudPageBlob with the StorageClient library with default settings the first actual request started against the cloud is a

    GET xyzblobname?comp=blocklist&blocklisttype=Committed&timeout=90 HTTP/1.1

    to which Azure replies with a

    HTTP/1.1 409 The blob type is invalid for this operation.

     

    It seems that CouldBlockBlob and CloudPageBlob both share the same OpenRead() method which is implemented in their base class CloudBlob. I do not know if the first request also counts as a transaction or not .. but since it always results in an error for PageBlobs and causes an unnecessary round-trip the StorageClient library should be changed to avoid this for PageBlobs. Currently the only way I found to get rid of this error-request was to set the UseIntegrityControlForStreamReading property of the CloubBlobClient instance to false.

    Andreas

    Wednesday, August 11, 2010 8:27 AM

Answers

  • I've passed this along to the storage team, thanks.
    • Marked as answer by ProvisioCloud Thursday, August 12, 2010 7:28 PM
    Wednesday, August 11, 2010 6:24 PM

All replies

  • I've passed this along to the storage team, thanks.
    • Marked as answer by ProvisioCloud Thursday, August 12, 2010 7:28 PM
    Wednesday, August 11, 2010 6:24 PM
  • I do not know if the first request also counts as a transaction or not

    FYI: The Azure Storage Team blog has a post describing which operations are billable. This one appears to be but it is still a bargain at one million for a dollar.

    Wednesday, August 11, 2010 6:34 PM
    Answerer