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

Update Envoy to 95038fe (Aug 12th 2021). #734

Merged
merged 14 commits into from
Aug 18, 2021

Conversation

mum4k
Copy link
Collaborator

@mum4k mum4k commented Aug 18, 2021

  • refactoring ProcessImpl, creating a named constructor that allows us to
    create bootstrap initially and pass it to Envoy::Api::Impl() as required
    since Buffer Factory: Configuration of the minimum account size to track. envoy#17562. Specifically:
    • Moving method ProcessImpl::determineConcurrency() out of the ProcessImpl class so that it can be used during its construction.
    • Moving code that extracts URIs from process_impl.cc into process_bootstrap.cc.
    • Adding a previously missing test case CreatesBootstrapForH1RespectingPortInUri into process_bootstrap_test.cc.
    • Removing a TODO that incorrectly indicated URI DNS resolution is optional. Envoy requires resolved IPs in the Bootstrap for cluster of type STATIC.
    • Creating a named constructor for ProcessImpl that creates the Envoy::Api::Api with an empty Bootstrap that is then replaced with the one generated. See an inline comment for explanation.
    • Moving callers onto the named constructor and making the original constructor of ProcessImpl private.
  • no changes to .bazelrc, .bazelversion, run_envoy_docker.sh.

mum4k added 13 commits August 18, 2021 00:32
Moving it from `process_impl.cc` into `process_bootstrap.cc`.

Signed-off-by: Jakub Sobon <[email protected]>
Bootstrap is now generated at ProcessImpl construction time.
Also shutdown the process when the named constructor fails.

Signed-off-by: Jakub Sobon <[email protected]>
@mum4k mum4k requested a review from dubious90 August 18, 2021 08:22
@mum4k mum4k added the waiting-for-review A PR waiting for a review. label Aug 18, 2021
oschaaf
oschaaf previously approved these changes Aug 18, 2021
Copy link
Member

@oschaaf oschaaf left a comment

Choose a reason for hiding this comment

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

LGTM

dubious90
dubious90 previously approved these changes Aug 18, 2021
@mum4k mum4k dismissed stale reviews from dubious90 and oschaaf via 7ec6e3b August 18, 2021 16:10
@dubious90 dubious90 merged commit 9a6d718 into main Aug 18, 2021
@mum4k mum4k deleted the mum4k_envoy_update_010_bootstrap branch August 18, 2021 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting-for-review A PR waiting for a review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants