[
https://issues.apache.org/jira/browse/OAK-8984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
José Andrés Cordero Benítez updated OAK-8984:
---------------------------------------------
Attachment: infinite-recursion-OAK-8984.patch
> A big number of NOOP changes can result in a StackOverflow
> ----------------------------------------------------------
>
> Key: OAK-8984
> URL: https://issues.apache.org/jira/browse/OAK-8984
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: documentmk
> Reporter: José Andrés Cordero Benítez
> Priority: Major
> Attachments: infinite-recursion-OAK-8984.patch
>
>
> We have a case where a sync job sometimes produce a StackOverflow when a big
> number of NOOP changes are executed. The problem could be related with the
> wrapping of a new ModifiedDocumentNodeState object in every call.
> If the number of changes don't reach the UpdateLimit value, if will continue
> creating objects until it throws a StackOverflow error.
> The problem only happens in very specific conditions, but with help of
> [~mreutegg] we were able to reproduce in a test that artificially recreates
> the situation.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)