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 "Manfred Baedke (Jira)" <ji...@apache.org> on 2019/10/08 15:09:00 UTC
[jira] [Created] (OAK-8683) The async indexing thread runs on all
cluster nodes if the DefaultWhiteBoard is used.
Manfred Baedke created OAK-8683:
-----------------------------------
Summary: The async indexing thread runs on all cluster nodes if the DefaultWhiteBoard is used.
Key: OAK-8683
URL: https://issues.apache.org/jira/browse/OAK-8683
Project: Jackrabbit Oak
Issue Type: Bug
Components: core-spi
Reporter: Manfred Baedke
In the absense of an OSGi framework, a newly created Oak instance wouldn't use the OsgiWhiteBoard, but instead fall back to it's own internal implementation extending DefaultWhiteBoard. The WhiteboardUtils.ScheduleExecutionInstanceTypes is then completely ignored when registering the AsynIndexUpdate job (which makes sense since Oak doesn't understand it's own RUN_ON_LEADER hint), resulting in async indexing threads running on all cluster nodes and fighting for the index update lease.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)