You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "Haishi Yao (Jira)" <ji...@apache.org> on 2020/08/12 07:29:00 UTC
[jira] [Created] (SCB-2066) Request timeout does not trigger
consumer bizkeeper-handler circuit breaker
Haishi Yao created SCB-2066:
-------------------------------
Summary: Request timeout does not trigger consumer bizkeeper-handler circuit breaker
Key: SCB-2066
URL: https://issues.apache.org/jira/browse/SCB-2066
Project: Apache ServiceComb
Issue Type: Bug
Components: Java-Chassis
Affects Versions: java-chassis-2.1.1, java-chassis-2.1.0, java-chassis-2.0.2, java-chassis-2.0.1, java-chassis-2.0.0
Reporter: Haishi Yao
Assignee: Haishi Yao
The circuit breaker of consumer bizkeeper-handler is expected triggered by request timeout error. And the detection logic is checking whether the response status code is 490, in org.apache.servicecomb.bizkeeper.ConsumerBizkeeperCommand#isFailedResponse. This worked fine before the version java-chassis-2.0.0 as the request timeout results in 490 status code.
But when SCB-1623 is done, the request timeout produces 408, no longer the 490 code. As a result, request timeout does not trigger circuit breaker of consumer bizkeeper-handler.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)