You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "chenshuo (Jira)" <ji...@apache.org> on 2019/08/31 16:10:00 UTC

[jira] [Closed] (SCB-1409) The Mersher chassis.yaml config didn't support for Provider circuitBreaker.

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

chenshuo closed SCB-1409.
-------------------------
    Resolution: Fixed

> The Mersher chassis.yaml config  didn't support for Provider circuitBreaker.
> ----------------------------------------------------------------------------
>
>                 Key: SCB-1409
>                 URL: https://issues.apache.org/jira/browse/SCB-1409
>             Project: Apache ServiceComb
>          Issue Type: Bug
>          Components: mesher
>         Environment: linux
>            Reporter: chenshuo
>            Priority: Major
>
> I use this mersher as provider for a httpserver.I exce the cmd "export SPECIFIC_ADDR=127.0.0.1:80" before start mersher.I make the httpserver sleep to trigger  circuitBreaker.But I find the following configuration is invalid finally:
>  isolation:
>      Consumer:
>        timeout:
>          enabled: true
>        timeoutInMilliseconds: 500
>        maxConcurrentRequests: 10
>      Provider:
>        timeout:
>          enabled: true
>        timeoutInMilliseconds: 500
>        maxConcurrentRequests: 10
>    circuitBreaker:
>      Consumer:
>        enabled: true
>        forceOpen: false
>        forceClosed: false
>        sleepWindowInMilliseconds: 10000
>        requestVolumeThreshold: 1
>        errorThresholdPercentage: 1
>      Provider:
>        enabled: true
>        forceOpen: true
>        forceClosed: false
>        sleepWindowInMilliseconds: 10000
>        requestVolumeThreshold: 1
>        errorThresholdPercentage: 20
>    fallback:
>      Consumer:
>        enabled: true
>        maxConcurrentRequests: 1
>      Provider:
>        enabled: true
>        maxConcurrentRequests: 1
>    fallbackpolicy:
>      Consumer:
>        policy: returnnull
>      Provider:
>        policy: returnnull



--
This message was sent by Atlassian Jira
(v8.3.2#803003)