Skip to content

core: fix a bug for hedging with throttling - #7337

Merged
dapengzhang0 merged 4 commits into
grpc:masterfrom
dapengzhang0:fix-throttling
Aug 19, 2020
Merged

core: fix a bug for hedging with throttling#7337
dapengzhang0 merged 4 commits into
grpc:masterfrom
dapengzhang0:fix-throttling

Conversation

@dapengzhang0

@dapengzhang0 dapengzhang0 commented Aug 18, 2020

Copy link
Copy Markdown
Contributor

Resolves #7222: If a hedging substream fails triggering throttling threshold, the call should be committed.

Refactored RetryPlan to two separate classes RetryPlan and HedgingPlan.

Comment thread core/src/main/java/io/grpc/internal/RetriableStream.java Outdated
Comment thread core/src/main/java/io/grpc/internal/RetriableStream.java
Comment thread core/src/main/java/io/grpc/internal/RetriableStream.java Outdated
Comment thread core/src/main/java/io/grpc/internal/RetriableStream.java Outdated
@dapengzhang0 dapengzhang0 reopened this Aug 19, 2020
@dapengzhang0
dapengzhang0 merged commit a91acec into grpc:master Aug 19, 2020
@dapengzhang0
dapengzhang0 deleted the fix-throttling branch August 19, 2020 06:12
dfawley pushed a commit to dfawley/grpc-java that referenced this pull request Jan 15, 2021
Resolves grpc#7222: If a hedging substream fails triggering throttling threshold, the call should be committed.

Refactored RetryPlan to two separate classes RetryPlan and HedgingPlan.
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RPC call stuck and eventually throws DEADLINE_EXEEDED if hedging attempts got throttled.

2 participants