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

Improve azure archive recovery during startup

    XMLWordPrintableJSON

Details

    Description

      During repository startup if archive directory is not closed properly, recovery will be performed. During that procedure, segents are copied to the backup directory and deleted from the source direcory, one by one.

      It can create problems and negativelly impact other ongoing actiivties, which are accessing the same archive. This activity, for example, can be repository cloning in order to create new environment. 

      Proposed patch, after creating backup is not deleting all segments from archive, but only segments which could not be recovered. 

      proposal.patch

       

      API change

      Proposed patch is changing major version of exported SPI package, org.apache.jackrabbit.oak.segment.spi.persistence.split.

       

      Attachments

        1. test_tar_repo_recovery.patch
          5 kB
          Miroslav Smiljanic
        2. proposal.patch
          19 kB
          Miroslav Smiljanic
        3. package-info.patch
          0.8 kB
          Miroslav Smiljanic

        Activity

          People

            adulceanu Andrei Dulceanu
            miroslav Miroslav Smiljanic
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: