[
https://issues.apache.org/jira/browse/OAK-3227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Mueller resolved OAK-3227.
---------------------------------
Resolution: Fixed
http://svn.apache.org/r1695886
> The DiffIndex relies on implementation details
> ----------------------------------------------
>
> Key: OAK-3227
> URL: https://issues.apache.org/jira/browse/OAK-3227
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Reporter: Thomas Mueller
> Assignee: Thomas Mueller
> Fix For: 1.3.4
>
>
> The DiffIndex relies on implementation details of the query engine, specially
> that "query" is called with the exact same parameters as "getCost". This is
> currently always the case, but it is not a specified contract.
> It's OK to do that right now, but the index should verify that the uuid of
> "query" does not match that of "getCost". This is to avoid returning the
> wrong data in case the query engine does no longer works like this.
> The problem is that the current behavior can lead to hard to detect problems
> if the query engine is changed (for example if caching is introduced).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)