[
https://issues.apache.org/jira/browse/OAK-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Parvulescu updated OAK-1052:
---------------------------------
Attachment: OAK-1025-extras.patch
I've added some java docs on the tree and the node state of the execution
context.
I've also included some more tweaks around the execution context to make the
tree and node state javadocs more visible (basically I'm passing it in instead
of the 2 separately).
> Introduce execution context for executing queries
> -------------------------------------------------
>
> Key: OAK-1052
> URL: https://issues.apache.org/jira/browse/OAK-1052
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core
> Reporter: Michael Dürig
> Attachments: OAK-1025-extras.patch, OAK-1052.patch
>
>
> In OAK-1037 we found that each query execution results in multiple calls to
> {{AbstractRoot.getRootState}}. This might lead to breaking an invariant of
> the query engine, which probably assumes that the returned node state is the
> same during the course of a query. To prevent this I suggest to introduce an
> execution context, which provides a stable state for a query execution.
--
This message was sent by Atlassian JIRA
(v6.1#6144)