[ 
https://issues.apache.org/jira/browse/OAK-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13810420#comment-13810420
 ] 

Alex Parvulescu commented on OAK-1132:
--------------------------------------

awesome, thanks Jukka for taking care of this!

> 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
>             Fix For: 0.11
>
>
> 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