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

Config nodes to listen on QUIC by default #7343

Closed
1 of 3 tasks
momack2 opened this issue May 21, 2020 · 8 comments · Fixed by ipfs/fs-repo-migrations#102
Closed
1 of 3 tasks

Config nodes to listen on QUIC by default #7343

momack2 opened this issue May 21, 2020 · 8 comments · Fixed by ipfs/fs-repo-migrations#102
Assignees
Labels
kind/enhancement A net-new feature or improvement to an existing feature

Comments

@momack2
Copy link
Contributor

momack2 commented May 21, 2020

@momack2 momack2 added the kind/enhancement A net-new feature or improvement to an existing feature label May 21, 2020
@momack2 momack2 assigned aschmahmann and dirkmc and unassigned aschmahmann May 21, 2020
@RubenKelevra
Copy link
Contributor

QUIC is still experimental, I feel like this should be done when QUIC is considered stable. :)

@aschmahmann
Copy link
Contributor

@RubenKelevra the plan is to make QUIC non-experimental and supported by default. In order to do that this issue needs to be tackled.

@RubenKelevra
Copy link
Contributor

@RubenKelevra the plan is to make QUIC non-experimental and supported by default. In order to do that this issue needs to be tackled.

Yeah. I've just tested it. The daemon will start happily with the definition but quic disabled.

So there's no blocker for this, regardless if QUIC is stable or not.

Currently I'm experiencing memory leaks with QUIC on, while not all fixes for this (as far as I understand) are in the master.

See #7263

@dirkmc
Copy link
Contributor

dirkmc commented May 21, 2020

Should the reverse migration always set Experimental.QUIC to false?
This could be surprising to someone who

  • has Experimental.QUIC set to true
  • migrates forwards
  • migrates backwards
  • Experimental.QUIC is now false

@RubenKelevra
Copy link
Contributor

RubenKelevra commented May 21, 2020

Should the reverse migration always set Experimental.QUIC to false?
This could be surprising to someone who

  • has Experimental.QUIC set to true
  • migrates forwards
  • migrates backwards
  • Experimental.QUIC is now false

I don't think we should enable experimental options on the migration.

As far as I understand the idea is to enable the listening entries for QUIC on the migration and add the QUIC addresses for the bootstrappers. When QUIC is stable, the experimental option will be removed and it will be on by default.

@dirkmc
Copy link
Contributor

dirkmc commented May 21, 2020

Right, of course, that makes sense :)

@Stebalien Stebalien mentioned this issue May 21, 2020
77 tasks
@Stebalien
Copy link
Member

@dirkmc

The idea is to:

  1. Drop the experimental feature flag and enable it by default. The migration doesn't have to handle that.
  2. Have a migration that adds the listen address. The reverse migration shouldn't do anything.

So yeah, the reverse migration may be a bit surprising, but it won't be the end of the world. At worst, we'll end up disabling the QUIC transport.

@Stebalien
Copy link
Member

Complete feature description:

  1. No reverse migration.
  2. On the forward migration:
    1. Add a QUIC bootstrap address for mars.
    2. For every /tcp/PORT swarm listen address, add a /udp/PORT/quic listen address.
    3. For every /tcp/PORT address in Announce/NoAnnounce, add a /udp/PORT/quic address.

laurentsenta pushed a commit to laurentsenta/kubo that referenced this issue Feb 25, 2022
laurentsenta pushed a commit to laurentsenta/kubo that referenced this issue Feb 25, 2022
laurentsenta pushed a commit to laurentsenta/kubo that referenced this issue Mar 4, 2022
laurentsenta pushed a commit to laurentsenta/kubo that referenced this issue Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A net-new feature or improvement to an existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants