apache / apache/brpc

怀疑DynamicPartitionChannel+backup_request配合使用不再选择优先返回的下游了?

Open
#945 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
17.6k
Forks
4.1k
Avg merge
2d 12h
Merged PRs (30d)
69

Description

下游如果分sharding,DynamicPartitionChannel+backup_request情况下,框架没有将同shard的response去重。想问下DynamicPartitionChannel+backup_request情况下,同shard返回后框架的后续行为是什么呢?还想问下会不会出现并行的情况,目前加上backup_request会导致程序出问题。。。

Contributor guide

Open the contributing guide

Research direction

Start by tracing DynamicPartitionChannel with backup_request, focusing on sharded downstream responses and whether same-shard responses are deduplicated. Reproduce the reported parallel-response behavior and determine the framework's behavior after a same-shard response; done means the behavior is explained and the reported program failure is resolved or documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend-api-design, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.