jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikas Saurabh (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (OAK-5337) LastRevRecoveryAgent should avoid recovering documents from its own cluster id if the instance is running
Date Fri, 23 Dec 2016 14:49:58 GMT

    [ https://issues.apache.org/jira/browse/OAK-5337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15772661#comment-15772661
] 

Vikas Saurabh edited comment on OAK-5337 at 12/23/16 2:49 PM:
--------------------------------------------------------------

Backported to 1.4 in [r1775820|https://svn.apache.org/r1775820], to 1.2 in [r1775838|https://svn.apache.org/r1775838]
and to 1.0 in [r1775843|https://svn.apache.org/r1775843].


was (Author: catholicon):
Backported to 1.4 in [r1775820|https://svn.apache.org/r1775820].

> LastRevRecoveryAgent should avoid recovering documents from its own cluster id if the
instance is running
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OAK-5337
>                 URL: https://issues.apache.org/jira/browse/OAK-5337
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: documentmk
>            Reporter: Vikas Saurabh
>            Assignee: Vikas Saurabh
>             Fix For: 1.5.17, 1.6
>
>         Attachments: OAK-5337.patch
>
>
> In certain scenarios (mostly slow background write leading to lease timeout), last rev
recovery agent can kick in and start to recover documents from its own cluster id. The situation
is implicitly avoided in 1.4+ (OAK-3397) as the instance would kill itself on lease failure
(there are other safeguards too to avoid the situation). But, on older branches, especially
1.0 which has no safeguards, this can lead to loss of last revs.
> All that said, it's anyway reasonable that LRRA shouldn't try to recover its own instance
while it's running (startup still needs to be handled by LRRA though).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message