Skip to content
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

fix(modp2p): temporary disable quic #2837

Merged
merged 3 commits into from
Oct 13, 2023
Merged

fix(modp2p): temporary disable quic #2837

merged 3 commits into from
Oct 13, 2023

Conversation

Wondertan
Copy link
Member

@Wondertan Wondertan commented Oct 11, 2023

Disables QUIC by default yet allows to enable it with ENV var.
This is temporary and until libp2p/go-libp2p#2591 is investigated and fixed.

The current solution disables QUIC programmatically while we still keep writing in the config QUIC listen addresses by default. This removes the need for users to reinit their configs once we turn QUIC back by default.

This works perfectly fine on mocha.

@codecov-commenter
Copy link

Codecov Report

Merging #2837 (792dcc8) into main (127eca7) will decrease coverage by 0.08%.
The diff coverage is 73.68%.

@@            Coverage Diff             @@
##             main    #2837      +/-   ##
==========================================
- Coverage   51.28%   51.20%   -0.08%     
==========================================
  Files         168      168              
  Lines       10730    10744      +14     
==========================================
- Hits         5503     5502       -1     
- Misses       4747     4761      +14     
- Partials      480      481       +1     
Files Coverage Δ
nodebuilder/p2p/addrs.go 73.80% <100.00%> (+3.53%) ⬆️
nodebuilder/p2p/host.go 80.43% <54.54%> (-11.46%) ⬇️

... and 6 files with indirect coverage changes

distractedm1nd
distractedm1nd previously approved these changes Oct 12, 2023
@walldiss walldiss added the kind:fix Attached to bug-fixing PRs label Oct 12, 2023
walldiss
walldiss previously approved these changes Oct 12, 2023
nodebuilder/p2p/addrs.go Outdated Show resolved Hide resolved
ramin
ramin previously approved these changes Oct 12, 2023
renaynay
renaynay previously approved these changes Oct 13, 2023
@Wondertan Wondertan added area:core_and_app Relationship with Core node and Celestia-App and removed area:core_and_app Relationship with Core node and Celestia-App labels Oct 13, 2023
@Wondertan Wondertan enabled auto-merge (squash) October 13, 2023 09:57
@Wondertan Wondertan merged commit 17619db into main Oct 13, 2023
18 of 20 checks passed
@Wondertan Wondertan deleted the hlib/disable-quic branch October 13, 2023 10:11
@Wondertan Wondertan mentioned this pull request Oct 27, 2023
Wondertan added a commit that referenced this pull request Nov 27, 2023
Wondertan added a commit that referenced this pull request Dec 13, 2023
Reverts disabled quic. We weren't able to reproduce [the issue](libp2p/go-libp2p#2591) since we first observed it, as well as quic released changes to address this. Even if the issue is there, I think it's more or less safe as we always have TCP as fallback
ramin added a commit that referenced this pull request Dec 20, 2023
A regular bump with multiple minor fixes as well broader optimizations
like TCP eyeballing
https://github.com/libp2p/go-libp2p/releases/tag/v0.32.0

It may also fix the issue behind #2837, but this has to be confirmed yet

Co-authored-by: ramin <raminkeene@gmail.com>
renaynay pushed a commit to renaynay/celestia-node that referenced this pull request Jan 15, 2024
A regular bump with multiple minor fixes as well broader optimizations
like TCP eyeballing
https://github.com/libp2p/go-libp2p/releases/tag/v0.32.0

It may also fix the issue behind celestiaorg#2837, but this has to be confirmed yet

Co-authored-by: ramin <raminkeene@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:fix Attached to bug-fixing PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants