[
https://issues.apache.org/jira/browse/OAK-4536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Reschke updated OAK-4536:
--------------------------------
Description: Some usage patterns will lead to a premature branch created by
the DocumentNodeStore. Every {{DocumentRootBuilder.purge()}} call currently
causes a transition of the BranchState, from {{Unmodified}} to {{InMemory}} to
{{Persisted}}. This means BranchState may reach {{Persisted}} even though
{{update.limit}} is not reached. (was: Some usage patterns will lead a
premature branch created by the DocumentNodeStore. Every
{{DocumentRootBuilder.purge()}} call currently causes a transition of the
BranchState, from {{Unmodified}} to {{InMemory}} to {{Persisted}}. This means
BranchState may reach {{Persisted}} even though {{update.limit}} is not
reached.)
> Avoid premature branch
> ----------------------
>
> Key: OAK-4536
> URL: https://issues.apache.org/jira/browse/OAK-4536
> Project: Jackrabbit Oak
> Issue Type: Technical task
> Components: core, documentmk
> Reporter: Marcel Reutegger
> Assignee: Marcel Reutegger
> Fix For: 1.6, 1.5.5
>
>
> Some usage patterns will lead to a premature branch created by the
> DocumentNodeStore. Every {{DocumentRootBuilder.purge()}} call currently
> causes a transition of the BranchState, from {{Unmodified}} to {{InMemory}}
> to {{Persisted}}. This means BranchState may reach {{Persisted}} even though
> {{update.limit}} is not reached.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)