You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Christian Schneider (Jira)" <ji...@apache.org> on 2020/01/15 15:10:00 UTC

[jira] [Resolved] (SLING-8997) Delayed shutdown of sling instance because ExponentialBackOff executor waits for scheduled check

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

Christian Schneider resolved SLING-8997.
----------------------------------------
    Resolution: Fixed

> Delayed shutdown of sling instance because ExponentialBackOff executor waits for scheduled check
> ------------------------------------------------------------------------------------------------
>
>                 Key: SLING-8997
>                 URL: https://issues.apache.org/jira/browse/SLING-8997
>             Project: Sling
>          Issue Type: Bug
>          Components: Content Distribution
>    Affects Versions: Content Distribution Journal Core 0.1.8
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>            Priority: Major
>             Fix For: Content Distribution Journal Core 0.1.8
>
>
> Currently we only call shutdown on the executor of ExponentialBackOff. This leaves the executor thread running until the scheduled check happens. This can take up to the maximum delay (by default 5 minutes).
> The solution is to call shutdownNow so the scheduled check is canceled.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)