From oak-issues-return-82289-archive-asf-public=cust-asf.ponee.io@jackrabbit.apache.org Thu Jun 3 14:54:25 2021 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-ec2-va.apache.org (mxout1-ec2-va.apache.org [3.227.148.255]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 508991806D9 for ; Thu, 3 Jun 2021 16:54:25 +0200 (CEST) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-ec2-va.apache.org (ASF Mail Server at mxout1-ec2-va.apache.org) with SMTP id BEE7441908 for ; Thu, 3 Jun 2021 14:54:08 +0000 (UTC) Received: (qmail 90901 invoked by uid 500); 3 Jun 2021 14:54:08 -0000 Mailing-List: contact oak-issues-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-issues@jackrabbit.apache.org Received: (qmail 90792 invoked by uid 99); 3 Jun 2021 14:54:08 -0000 Received: from ec2-52-204-25-47.compute-1.amazonaws.com (HELO mailrelay1-ec2-va.apache.org) (52.204.25.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2021 14:54:08 +0000 Received: from jira2-he-de.apache.org (jira2-he-de.apache.org [168.119.33.54]) by mailrelay1-ec2-va.apache.org (ASF Mail Server at mailrelay1-ec2-va.apache.org) with ESMTPS id CDA4C42130 for ; Thu, 3 Jun 2021 14:54:07 +0000 (UTC) Received: from jira2-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira2-he-de.apache.org (ASF Mail Server at jira2-he-de.apache.org) with ESMTP id 759FCC81917 for ; Thu, 3 Jun 2021 14:54:06 +0000 (UTC) Date: Thu, 3 Jun 2021 14:54:06 +0000 (UTC) From: "Miroslav Smiljanic (Jira)" To: oak-issues@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (OAK-9401) Breaking recovery lock issue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OAK-9401?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Miroslav Smiljanic closed OAK-9401. ----------------------------------- > Breaking recovery lock issue > ---------------------------- > > Key: OAK-9401 > URL: https://issues.apache.org/jira/browse/OAK-9401 > Project: Jackrabbit Oak > Issue Type: Bug > Components: documentmk > Reporter: Jos=C3=A9 Andr=C3=A9s Cordero Ben=C3=ADtez > Assignee: Marcel Reutegger > Priority: Major > Labels: candidate_oak_1_22, candidate_oak_1_6, candidate_oak= _1_8 > Fix For: 1.40.0 > > > There won't be a leaseEndTime when the recovering clusterId, the one refe= rred to in=C2=A0{{recoveryBy}}, is not active anymore. The implementation o= f=C2=A0{{RecoveryLock.tryBreakRecoveryLock()}}=C2=A0should only call=C2=A0{= {getLeaseEndTime()}}=C2=A0when=C2=A0{{recovering.isActive()}}=C2=A0is true. -- This message was sent by Atlassian Jira (v8.3.4#803005)