jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davide Giannella (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OAK-3227) The DiffIndex relies on implementation details
Date Fri, 21 Aug 2015 12:14:00 GMT

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

Davide Giannella closed OAK-3227.
---------------------------------

Bulk close for 1.3.4

> 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)

Mime
View raw message