Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7818

[DirectBinaryAccess] AzureDataStore not chaining exceptions on upload completion

    XMLWordPrintableJSON

Details

    Description

      In AzureBlobStoreBackend#completeHttpUpload(), the code catches StorageException and URISyntaxException as thrown by the Azure SDK, but this exception is not chained in the DataStoreException that is thrown if those exceptions are caught, which makes it more difficult to diagnose the real issue behind the DataStoreException.

      This was just a simple oversight in the original implementation.  We should also examine the other code related to direct binary access, both in the Azure and S3 implementations, to see if there are any other similar bugs.

      Attachments

        Activity

          People

            mattvryan Matt Ryan
            mattvryan Matt Ryan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: