Chetan Mehrotra created OAK-2718:
------------------------------------
Summary: 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)