[
https://issues.apache.org/jira/browse/OAK-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting resolved OAK-1132.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.11
Fixed in revision 1537547 as discussed on oak-dev@. Query execution now uses
the base state for normal index lookups.
> 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)