apache / apache/brpc

[关闭特定错误码的熔断逻辑] 希望避免 EINVAL 触发熔断

Open
#1,598 1 comment 0 reactions 0 assignees View on GitHub
feature
Dominant language
C++
Stars
17.6k
Forks
4.1k
Avg merge
2d 12h
Merged PRs (30d)
69

Description

目前当下游返回 EINVAL 错误码时会触发熔断,但 EINVAL 是比较常见的错误码,能否有办法去避免这个错误码触发熔断。

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating brpc's circuit-breaker handling and how downstream error codes are classified; clarify whether EINVAL should be configurable or always excluded, then verify that the chosen behavior prevents EINVAL from tripping the breaker without changing other error handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.