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 "Stefan Egli (Jira)" <ji...@apache.org> on 2021/02/17 10:54:01 UTC

[jira] [Comment Edited] (OAK-9358) DocumentNodeStore may accumulate split candidates

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

Stefan Egli edited comment on OAK-9358 at 2/17/21, 10:53 AM:
-------------------------------------------------------------

Wrt backporting this one : as we haven't backported OAK-9149 the regression-fix does not apply to any older branch - however we could look into backporting {{splitCandidatesCleanAfterBackgroundUpdateWithUnknownId}}. -Leaving the ticket open for now to follow-up on that.- Resolving and marking with {{candidate_oak_1_22}}


was (Author: egli):
Wrt backporting this one : as we haven't backported OAK-9149 the regression-fix does not apply to any older branch - however we could look into backporting {{splitCandidatesCleanAfterBackgroundUpdateWithUnknownId}}. Leaving the ticket open for now to follow-up on that.

> DocumentNodeStore may accumulate split candidates
> -------------------------------------------------
>
>                 Key: OAK-9358
>                 URL: https://issues.apache.org/jira/browse/OAK-9358
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: documentmk
>    Affects Versions: 1.38.0
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Critical
>             Fix For: 1.40.0
>
>
> This is a regression introduced by OAK-9149. The split candidates in DocumentNodeStore may contain document IDs that actually don't need to be split. {{Commit#checkSplitCandidate()}} does a very quick check based on the size of the document and then leaves it to the background update to perform more thorough check and perform the split if necessary. As of OAK-9149, an ID for a document that does not need to be split in the background update is not removed from the split candidates and the background update checks it in every cycle. It is also possible that distinct split candidates accumulate over time and slow down the background operation significantly.



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