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

AzurePersistence can still write segments after having lost lease to another instance

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.44.0, 1.58.0
    • 1.60.0
    • segment-azure, segment-tar
    • None

    Description

      If the SegmentWriteQueue have pending writes while AzurePersistence is unable to renew the lease (both likely caused by connection problems with Azure), and another Oak instance starts and acquire the lease, then the first Oak instance may still be able to write segments to Azure, corrupting the repository.

      We need to make sure no writes can happen if the lease has been lost to another instance.

      Attachments

        Issue Links

          Activity

            People

              miroslav Miroslav Smiljanic
              jelmini Carlo Jelmini
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: