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 2019/11/26 16:43:00 UTC

[jira] [Created] (SLING-8863) Only trigger circuit breaker once

Christian Schneider created SLING-8863:
------------------------------------------

             Summary: Only trigger circuit breaker once
                 Key: SLING-8863
                 URL: https://issues.apache.org/jira/browse/SLING-8863
             Project: Sling
          Issue Type: Improvement
          Components: Content Distribution
    Affects Versions: Content Distribution Journal Core 0.1.4
            Reporter: Christian Schneider
            Assignee: Christian Schneider
             Fix For: Content Distribution Journal Core 0.1.6


Currently we reset the number of errors and trigger the JournalAvailability checks for each error event we receive. 

I think it makes sense to only trigger once when we reach the minimal number of errors to trigger.  We should also only reset the number of errors once the circuit is closed again.



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