-
Notifications
You must be signed in to change notification settings - Fork 463
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[proxy] use the proxy protocol v2 command to silence some logs (#9620)
The PROXY Protocol V2 offers a "command" concept. It can be of two different values. "Local" and "Proxy". The spec suggests that "Local" be used for health-checks. We can thus use this to silence logging for such health checks such as those from NLB. This additionally refactors the flow to be a bit more type-safe, self documenting and using zerocopy deser.
- Loading branch information
1 parent
babfeb7
commit fcde40d
Showing
8 changed files
with
232 additions
and
135 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 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 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.
fcde40d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5425 tests run: 5193 passed, 0 failed, 232 skipped (full report)
Flaky tests (2)
Postgres 16
test_sharded_ingest[github-actions-selfhosted-1]
: release-x86-64test_storage_controller_many_tenants[github-actions-selfhosted]
: release-x86-64Code coverage* (full report)
functions
:31.6% (7799 of 24712 functions)
lines
:49.0% (61157 of 124773 lines)
* collected from Rust tests only
fcde40d at 2024-11-05T23:01:08.363Z :recycle: