Skip to content

runtime: refresh QUIC flags when a new runtime config is loaded. - #16151

Merged
alyssawilk merged 6 commits into
envoyproxy:mainfrom
RenjieTang:runtime_reload
Apr 29, 2021
Merged

alyssawilk merged 6 commits into
envoyproxy:mainfrom
RenjieTang:runtime_reload

Conversation

@RenjieTang

Copy link
Copy Markdown
Contributor

Signed-off-by: Renjie Tang [email protected]

Commit Message: When a new runtime config is loaded and a new Snapshot is created, search for quiche reloadable flags and override their values.
Additional Description:
Risk Level: Low
Testing: unit test
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a
Fixes #9435

@RenjieTang

Copy link
Copy Markdown
Contributor Author

/assign @antoniovicente

@RenjieTang

Copy link
Copy Markdown
Contributor Author

/assign @alyssawilk

@antoniovicente antoniovicente left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I like this version a lot more than the previous change to consider runtime when reading QUICHE reloadable flags from QUICHE code.

Comment thread source/common/runtime/runtime_impl.cc Resolved
Comment thread source/common/runtime/runtime_impl.cc Resolved
Comment thread source/common/runtime/runtime_impl.cc Resolved
Signed-off-by: Renjie Tang <[email protected]>
Signed-off-by: Renjie Tang <[email protected]>
@RenjieTang

Copy link
Copy Markdown
Contributor Author

Thanks for the review Antonio! PTAL.

Comment thread source/common/runtime/runtime_impl.cc Resolved
Signed-off-by: Renjie Tang <[email protected]>
antoniovicente
antoniovicente previously approved these changes Apr 28, 2021

@antoniovicente antoniovicente left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good, just a few minor nits and some additional test cases to think about.

@antoniovicente antoniovicente left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good, waiting for CI to finish running.

@RenjieTang

Copy link
Copy Markdown
Contributor Author

There seems to be a flaky test failure at "DownstreamProtocolIntegrationTest, VeryLargeRequestHeadersRejected". That test explicitly excludes HTTP/3, so it shouldn't be related to my change.
I'm new to Github and Envoy, should I simply rerun in such situations?

@alyssawilk

Copy link
Copy Markdown
Contributor

yeah, rerun please. Bonus points for filing an issue for flaky tests with the failure output.

@alyssawilk
alyssawilk merged commit 82e33f6 into envoyproxy:main Apr 29, 2021
gokulnair pushed a commit to gokulnair/envoy that referenced this pull request May 6, 2021
…oyproxy#16151)

Commit Message: When a new runtime config is loaded and a new Snapshot is created, search for quiche reloadable flags and override their values.
Additional Description:
Risk Level: Low
Testing: unit test
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a
Fixes envoyproxy#9435

Signed-off-by: Renjie Tang <[email protected]>
Co-authored-by: Renjie Tang <[email protected]>
Signed-off-by: Gokul Nair <[email protected]>
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.

quiche: implement quic feature flags

3 participants