Julian Sedding created OAK-11867:
------------------------------------

             Summary: segment-azure: archive deletion should be atomic
                 Key: OAK-11867
                 URL: https://issues.apache.org/jira/browse/OAK-11867
             Project: Jackrabbit Oak
          Issue Type: Improvement
            Reporter: Julian Sedding


Archive deletion works by iterating over all blobs in an archive and deleting 
them.

In case of a crash, a partially deleted archive might be left over. 
Particularly, as the order of the blobs is not guaranteed, this could cause 
fatal issues on subsequent initializations.

In order to prevent this, an archive should be atomically marked as deleted. 
The actual deletion could happen asynchronously.

 

cc [~jelmini] as this is inspired by [your PR 
comment|https://github.com/apache/jackrabbit-oak/pull/2453#issuecomment-3196687634]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to