You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Miroslav Smiljanic (Jira)" <ji...@apache.org> on 2025/06/13 12:21:00 UTC
[jira] [Resolved] (OAK-11759) Repo lock cannot be acquired if repo.lock blob is already present
[ https://issues.apache.org/jira/browse/OAK-11759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Miroslav Smiljanic resolved OAK-11759.
--------------------------------------
Fix Version/s: 1.82.0
Resolution: Fixed
> Repo lock cannot be acquired if repo.lock blob is already present
> -----------------------------------------------------------------
>
> Key: OAK-11759
> URL: https://issues.apache.org/jira/browse/OAK-11759
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: segment-azure
> Reporter: Ieran Draghiciu
> Assignee: Miroslav Smiljanic
> Priority: Major
> Fix For: 1.82.0
>
>
> If {{repo.lock}} already exits the lock cannot be acquired:
> {code:java}
> 12.06.2025 19:40:59.424 *INFO* [reactor-http-nio-1] org.apache.jackrabbit.oak.segment.azure.AzureHttpRequestLoggingPolicy HTTP Request: HEAD https://sa077180163020602e82aca2.blob.core.windows.net/aem-sgmt-f0a41250eaa26fbb278977e04e2a257e42df2dc3-0007bc/aem%2Frepo.lock 200 8ms
> 12.06.2025 19:40:59.425 *ERROR* [FelixStartLevel] com.azure.storage.blob.specialized.BlockBlobClient Blob already exists. Specify overwrite to true to force update the blob.
> 12.06.2025 19:40:59.425 *INFO* [FelixStartLevel] org.apache.jackrabbit.oak.segment.azure.AzureRepositoryLock Can't acquire the lease. Retrying every 1s. Timeout is set to 1800s.
> {code}
> This is because the new azure sdk 12 required [explicitly to set true for overriding the blob|https://github.com/ierandra/jackrabbit-oak/blob/0e2a7d1e8b9bcf19b67e63ccfb5d321fa97f71d4/oak-segment-azure/src/main/java/org/apache/jackrabbit/oak/segment/azure/AzureRepositoryLock.java#L92]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)