[ 
https://issues.apache.org/jira/browse/OAK-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Mueller updated OAK-1132:
--------------------------------

    Component/s: query

> QueryEngine #executeQuery creates a new revision on each call
> -------------------------------------------------------------
>
>                 Key: OAK-1132
>                 URL: https://issues.apache.org/jira/browse/OAK-1132
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: query, segmentmk
>            Reporter: Alex Parvulescu
>
> It looks like the #getQueryEngine relies on the node state provided by 
> _AbstractRoot.this.getRootState()_.
> On the segmentmk it looks like each call creates a new revision [0].
> One option is to switch to the base state, but it looks like there are some 
> tests failing.
> [0] 
> http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentRootBuilder.java?view=markup#l46



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to