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

Deny write to Azure also for reasons other than operation timeout

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.60.0
    • 1.62.0
    • segment-azure
    • None

    Description

      Currently write to Azure is suspended when operation error code is 
      StorageErrorCodeStrings.OPERATION_TIMED_OUT

      https://github.com/apache/jackrabbit-oak/blob/f62ae952f3bf9783abfe5314f85799fd6479daa6/oak-segment-azure/src/main/java/org/apache/jackrabbit/oak/segment/azure/AzureRepositoryLock.java#L140-L140

       

      Writing should be denied for other errors as well:

      • com.microsoft.azure.storage.StorageException: The specified resource does not exist
      • com.microsoft.azure.storage.StorageException: The lease ID specified did not match the lease ID for the blob
      • com.microsoft.azure.storage.StorageException: The server is busy
      • com.microsoft.azure.storage.StorageException: An unknown failure occurred : Connection reset
      • com.microsoft.azure.storage.StorageException: The specified blob does not exist
      • com.microsoft.azure.storage.StorageException: Operations per second is over the account limit
      • com.microsoft.azure.storage.StorageException: An unknown failure occurred : Network is unreachable (connect failed)
      • com.microsoft.azure.storage.StorageException: Server encountered an internal error. Please try again after some time

      Attachments

        Issue Links

          Activity

            People

              miroslav Miroslav Smiljanic
              miroslav Miroslav Smiljanic
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: