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:12:00 UTC

[jira] [Updated] (OAK-8683) The async indexing thread runs on all cluster nodes if the DefaultWhiteBoard is used.

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

Manfred Baedke updated OAK-8683:
--------------------------------
    Description: 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 are then completely ignored when registering the AsyncIndexUpdate 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.  (was: 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.)

> 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
>            Priority: Minor
>
> 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 are then completely ignored when registering the AsyncIndexUpdate 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)