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

[quic]impose a limit on the number of connection migrations #30109

Merged
merged 3 commits into from
Oct 12, 2023

Conversation

RenjieTang
Copy link
Contributor

Commit Message: Limit the max number of connection migrations to 5.
Additional Description: This prevents too many new sockets being created.
Risk Level: Low. Can be turned off via num_timeouts_to_trigger_port_migration proto
Testing: integration test
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

Signed-off-by: Renjie Tang <[email protected]>
@RenjieTang
Copy link
Contributor Author

/assign @RyanTheOptimist

Signed-off-by: Renjie Tang <[email protected]>
Copy link
Contributor

@RyanTheOptimist RyanTheOptimist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modulo a request for a comment, this looks good. But I do have a question. The PR descriptions mentions:

Risk Level: Low. Can be turned off via num_timeouts_to_trigger_port_migration proto

But that turns off connection migration, it does not turn of the new behavior in this PR, right?

Signed-off-by: Renjie Tang <[email protected]>
@RenjieTang
Copy link
Contributor Author

Modulo a request for a comment, this looks good. But I do have a question. The PR descriptions mentions:

Risk Level: Low. Can be turned off via num_timeouts_to_trigger_port_migration proto

But that turns off connection migration, it does not turn of the new behavior in this PR, right?

Yes, the proto turns off connection migration as a whole. I put it there so that ppl know how to disable this feature in case anything goes wrong.

@RenjieTang
Copy link
Contributor Author

/retest

@RyanTheOptimist RyanTheOptimist merged commit 73dc561 into envoyproxy:main Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants