jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (Jira)" <j...@apache.org>
Subject [jira] [Commented] (OAK-9350) Index update: release the correct checkpoint
Date Fri, 05 Mar 2021 07:48:00 GMT

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

Thomas Mueller commented on OAK-9350:
-------------------------------------

http://svn.apache.org/r1886459

> Index update: release the correct checkpoint
> --------------------------------------------
>
>                 Key: OAK-9350
>                 URL: https://issues.apache.org/jira/browse/OAK-9350
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: indexing
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Major
>              Labels: index
>             Fix For: 1.40.0
>
>
> The async index update uses checkpoints to ensure consistency: it
> * 1. creates checkpoint2
> * 2. indexes everything between checkpoint1 and checkpoint2
> * 3. update the indexing lane to checkpoint2
> If there is s a problem before step 3, the checkpoint2 is removed. That's fine.
> However, if there is a problem after step 3 is complete, in some cases it also removes
checkpoint2. This is incorrect, as checkpoint2 is needed.
> We have seen this is the case if the node store is closed, but dispose works. See OAK-9300.
So fixing that should resolve most issues. However, the current code is still not correct.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message