[
https://issues.apache.org/jira/browse/OAK-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14043436#comment-14043436
]
Jukka Zitting commented on OAK-1912:
------------------------------------
Another alternative would be to avoid using dynamic OSGi service lookups to
access the index and instead statically wire the index implementation with the
repository.
> The UUID index temporarily not available during Oak upgrade
> -----------------------------------------------------------
>
> Key: OAK-1912
> URL: https://issues.apache.org/jira/browse/OAK-1912
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: query
> Affects Versions: 1.0, 1.0.1
> Reporter: Thomas Mueller
>
> In an OSGi framework, when upgrading the Oak version, the UUID index is
> temporarily not available, but queries with the condition "uuid=<x>" are
> still run, and therefore traverse the whole repository.
> This makes upgrading the Oak version very slow.
> I guess the problem is that the old index is stopped before the rest of
> oak-core is stopped, or the new index is started after the rest of oak-core
> is started.
--
This message was sent by Atlassian JIRA
(v6.2#6252)