server: replace cmux with native HTTP/2 multiplexing#21801
Conversation
|
Hi @kairosci. Thanks for your PR. I'm waiting for a etcd-io member to verify that this patch is reasonable to test. If it is, they should reply with Tip We noticed you've done this a few times! Consider joining the org to skip this step and gain Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
7bfd949 to
9314781
Compare
|
/ok-to-test |
|
cc @aojea is the idea sound at all? |
Codecov Report❌ Patch coverage is Additional details and impacted files
... and 29 files with indirect coverage changes @@ Coverage Diff @@
## main #21801 +/- ##
==========================================
- Coverage 70.08% 69.97% -0.11%
==========================================
Files 426 427 +1
Lines 35245 35337 +92
==========================================
+ Hits 24701 24727 +26
- Misses 9157 9212 +55
- Partials 1387 1398 +11 Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
9314781 to
0a4cbb8
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: kairosci The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
0a4cbb8 to
cffdd5b
Compare
27d8df0 to
f93eb11
Compare
|
/retest |
f93eb11 to
87b6ccf
Compare
Signed-off-by: Alessio Attilio <attilio.alessio@protonmail.com>
87b6ccf to
476fc51
Compare
|
@kairosci: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
@kairosci previously this task was assumed to be impossible due to how HTTP/2 works. But it's yours AI tokens. |
after a quick look this PR is implementing the same logic as cmux, a read ahead buffer and a dispatcher ... I do not see the benefit of absorbing the problem in tree, the cmux package is pretty stable and battle tested ... unless there is a very big benefit I advice to be conservative, touching in this area can open a lot of subtle bugs and regressions |
|
@kairosci thank you for the PR. I suggest to look at this change after we release etcd v3.7, as we don't want to introduce any new feature or major change to etcd at current stage. |
Remove the unmaintained cmux dependency in favor of h2c for
cleartext gRPC and TLS ALPN for encrypted connections.
Fixes #18032