[
https://issues.apache.org/jira/browse/OAK-6351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcel Reutegger updated OAK-6351:
----------------------------------
Attachment: OAK-6351.patch
Proposed changes in [^OAK-6351.patch]. Please note, I also fixed potential NPEs
when the document does not exist anymore.
> Invalidate cache entries when getChildNodes() is aborted
> --------------------------------------------------------
>
> Key: OAK-6351
> URL: https://issues.apache.org/jira/browse/OAK-6351
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: documentmk
> Reporter: Marcel Reutegger
> Assignee: Marcel Reutegger
> Priority: Minor
> Fix For: 1.8
>
> Attachments: OAK-6351.patch
>
>
> With OAK-4623 {{DocumentNodeStore.getChildNodes()}} logs the document of the
> missing child node read directly from the document store. This effectively
> also ensures the document cache now contains an up-to-date version of the
> document.
> In addition the relevant cache entries in the node state and children caches
> should also be invalidated. As reported in OAK-6294, the system may still be
> stuck in this aborting state even if the document is now up-to-date.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)