-
Notifications
You must be signed in to change notification settings - Fork 5.3k
router filter: implement hedge_on_per_try_timeout. #6228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
81 commits
Select commit
Hold shift + click to select a range
4ab0641
router filter: implement hedge_on_per_try_timeout.
mpuncel ac2e338
remove empty if block
mpuncel b51e902
null out conn pool stream handle after pool failure
mpuncel 6d8497c
Merge branch 'master' into mpuncel/hedging-impl
mpuncel 19d7651
fix format
mpuncel 6447c06
add bug fix and test for double retries
mpuncel 6763000
Fix "retry only once per upstream request" behavior.
mpuncel 4777143
fix format
mpuncel 140d4ad
fix spelling in a comment
mpuncel 655d126
more build fixes
mpuncel 86d61e5
fix format
mpuncel a12c667
run resetStream always on upstream requests to ensure callbacks are r…
mpuncel 1617ffc
proxy all upstream metadata downstream
mpuncel 89d0fb4
use for each syntax to loop over upstream request list
mpuncel 02bc109
PR feedback
mpuncel 7b50e77
PR feedback
mpuncel 4b68740
fix upstream_request reference after destruction
mpuncel 71ecc25
remove unnecessary get() for clang-tidy
mpuncel fce805d
docs fixes
mpuncel eae3f0a
make downstream watermark callbacks a list in conn manager
mpuncel c8cd2ce
fix format
mpuncel 7ea1a8a
Merge branch 'master' into mpuncel/hedging-impl
mpuncel e075531
clarify some docs and comments
mpuncel df47fff
add HTTP header for enabling hedging on per try timeout
mpuncel bb6a289
add integration tests for router timeouts including the hedging case
mpuncel 08c093c
fix spelling in comment
mpuncel 12f24b5
clarify documentation
mpuncel e4df7be
add integration tests using low buffer sizes
mpuncel 56be605
remove unnecessary buffering case
mpuncel bb83438
merge master
mpuncel f68fa0c
merge master
mpuncel 01aa62a
Add asserts in upstream watermark callbacks
mpuncel 8fd4297
remove outdated asserts around 1 upstream request at a time
mpuncel b86bd47
increase waitForReset timeouts in integration tests
mpuncel 88b2c8b
Merge branch 'master' into mpuncel/hedging-impl
mpuncel 59fe7b8
fix assert in upstream watermark callbacks and unit test that doesn't…
mpuncel 899dacc
fix format
mpuncel 035ebbe
Merge branch 'master' into mpuncel/hedging-impl
mpuncel dc9fff4
fix format
mpuncel e3b4396
fix typos
mpuncel 3ba2e57
switch to getStringView() for header comparisons
mpuncel 7e41cd1
fix typo
mpuncel 57593fb
fix faulty assumption in assert. it's possible to get a downstream wa…
mpuncel f84a666
fix format
mpuncel 6eafa00
add test case where downstream watermark callbacks are deregistered f…
mpuncel 1344432
deregister -> unregister
mpuncel 0d7a7fc
initialize final_upstream_request_ to nullptr
mpuncel acb40e0
Merge branch 'master' into mpuncel/hedging-impl
mpuncel 00f473f
PR feedback
mpuncel 9b3398b
fix format
mpuncel 8ecf854
add stat for count of hedged requests
mpuncel f4e3b9f
do removal of upstream request from list inside maybeRetryReset
mpuncel 647e18f
for hedged requests, set x-envoy-expected-timeout and grpc-timeout to be
mpuncel 73b8f53
remove hedging stats (for now)
mpuncel f7aa990
fix format
mpuncel 701ecce
make hedging require a cluster flag
mpuncel 8312bb7
add more test permutations to hedging integration tests.
mpuncel eea37b3
fix format
mpuncel 0685088
initialize hedge_on_per_try_timeout_ properly and fix router tests
mpuncel b29d6ca
update docs with allow_request_hedging cluster option
mpuncel ee1a395
Merge branch 'master' into mpuncel/hedging-impl
mpuncel 73652ee
fix format
mpuncel ca87a4a
revert cluster config option to allow request hedging
mpuncel 5977860
fix format
mpuncel 7b721be
Merge branch 'master' into mpuncel/hedging-impl
mpuncel a9db675
fix logical merge where upstream_headers_ isn't always set when heade…
mpuncel 6d8e7be
fix case where rq_error_ would not be incremented if other requests a…
mpuncel 35ce081
fix format
mpuncel ec80324
fix handling of resets
mpuncel f2c645c
fix pending_retries counting
mpuncel 67b7fa9
fix format
mpuncel fcd8ba7
partial PR feedback
mpuncel 3dafb66
fix bug in doRetry() checking for an immediate reset that could resul…
mpuncel 3d0f2a9
fix spelling
mpuncel 488da68
Merge branch 'master' into mpuncel/hedging-impl
mpuncel 5b92d57
address PR feedback
mpuncel 80cf6a1
Clean up unnecessary final_upstream_request_ checks.
mpuncel e1b4e9d
Merge branch 'master' into mpuncel/hedging-impl
mpuncel d364c47
fix format and missing null guard
mpuncel 1847f33
fix redirect
mpuncel 5977197
fix spelling/clang tidy errors
mpuncel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.