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/23 14:05:00 UTC

[jira] [Commented] (SLING-9020) JournalAvailableChecker should consider the journal as unavailable after 1 error

    [ https://issues.apache.org/jira/browse/SLING-9020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17022129#comment-17022129 ] 

Christian Schneider commented on SLING-9020:
--------------------------------------------

I have tested if changing to 1 error would have adverse effects. The itest do not seem to be affected. So I am changing to 1 error.

> JournalAvailableChecker should consider the journal as unavailable after 1 error
> --------------------------------------------------------------------------------
>
>                 Key: SLING-9020
>                 URL: https://issues.apache.org/jira/browse/SLING-9020
>             Project: Sling
>          Issue Type: Bug
>          Components: Content Distribution
>    Affects Versions: Content Distribution Journal Core 0.1.6
>            Reporter: Timothee Maret
>            Assignee: Christian Schneider
>            Priority: Major
>             Fix For: Content Distribution Journal Core 0.1.8
>
>
> Currently the JournalAvailableChecker waits 2 errors before considering the journal to be unavailable. There are some cases, however, were a single error will be thrown. An example is an error thrown from an agent DistributionSubscriber activate method. In this example, the agent fails to activate and the availability checker fails to turn the agent off/on.
> Retries should be moved in the messaging implementation.



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