You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Tommaso Teofili (JIRA)" <ji...@apache.org> on 2015/04/08 10:47:12 UTC

[jira] [Resolved] (OAK-2718) NodeStateSolrServersObserver performs complete diff synchronously causing slowness in dispatch

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

Tommaso Teofili resolved OAK-2718.
----------------------------------
    Resolution: Fixed

I've made the {{NodeStateSolrServersObserverService}} registering the {{BackgroundObserver}} only if an OSGi configuration property _enabled_ is set to _true_ in r1672032 (_false_ by default).

> NodeStateSolrServersObserver performs complete diff synchronously causing slowness in dispatch
> ----------------------------------------------------------------------------------------------
>
>                 Key: OAK-2718
>                 URL: https://issues.apache.org/jira/browse/OAK-2718
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: oak-solr
>            Reporter: Chetan Mehrotra
>            Assignee: Tommaso Teofili
>             Fix For: 1.2
>
>
> {{NodeStateSolrServersObserver}} is enabled by default and performs diff synchronously. Further it performs complete diff which might take time and would cause the dispatch thread to slowdown.
> This would cause issues at least with {{DocumentNodeStore}} as there the dispatch is done as part of background read and that call is time sensitive.
> As a fix the diff should performed asynchronously and also be selective. A similar fix was done for Lucene index as part of OAK-2570



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)