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

feat(iroh-net): Use the local endpoints info when closing derps #2082

Merged
merged 4 commits into from
Mar 15, 2024

Conversation

flub
Copy link
Contributor

@flub flub commented Mar 14, 2024

Description

When the network has changed we used to close all the derp connections
unconditionally. This passes in the local endpoints information so
that the derp http actor will only close those derp connections for
which we no longer have the local endpoint. That's a lot less
disruptive than always closing them.

Notes & open questions

The relevant rebinding test is still marked flaky. I've only seen it
pass but will monitor in the flaky tests before considering enabling.

Change checklist

  • Self-review.
  • Documentation updates if relevant.
  • Tests if relevant.

When the network has changed we used to close all the derp connections
unconditionally.  This passes in the local endpoints information so
that the derp http actor will only close those derp connections for
which we no longer have the local endpoint.  That's a lot less
disruptive than always closing them.
@flub flub enabled auto-merge March 14, 2024 16:50
@flub flub added this pull request to the merge queue Mar 14, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 14, 2024
@flub
Copy link
Contributor Author

flub commented Mar 15, 2024

#2086 for flaky tests

@flub flub added this pull request to the merge queue Mar 15, 2024
Merged via the queue into main with commit 8d86ffc Mar 15, 2024
20 checks passed
@flub flub deleted the flub/local-endpoints-for-derp-rebind branch March 15, 2024 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants