Skip to content

dns: preserve custom resolver after channel destruction#13820

Merged
mattklein123 merged 11 commits intoenvoyproxy:masterfrom
junr03:custom-resolvers
Oct 30, 2020
Merged

dns: preserve custom resolver after channel destruction#13820
mattklein123 merged 11 commits intoenvoyproxy:masterfrom
junr03:custom-resolvers

Conversation

@junr03
Copy link
Member

@junr03 junr03 commented Oct 29, 2020

Commit Message: dns - preserve custom resolver after channel destruction
Additional Description: previously when the c-ares channel was destroyed and re-initialized, custom resolver addresses passed in during construction were not preserved. This PR reproduces the issue with a new test, and fixes.
Risk Level: low - fixing issue with reproduced test
Testing: repro issue, and verified fix with new unit test.
Release Notes: updated
Fixes #13794

Signed-off-by: Jose Nino jnino@lyft.com

Jose Nino added 9 commits October 29, 2020 09:59
Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: Jose Nino <jnino@lyft.com>
fmt
Signed-off-by: Jose Nino <jnino@lyft.com>
fix
Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: Jose Nino <jnino@lyft.com>
@junr03
Copy link
Member Author

junr03 commented Oct 29, 2020

cc @rumanzo and @htuch (FYI -- I know you are OOO).

Jose Nino added 2 commits October 29, 2020 13:55
Signed-off-by: Jose Nino <jnino@lyft.com>
fmt
Signed-off-by: Jose Nino <jnino@lyft.com>
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

Very nice!

@mattklein123
Copy link
Member

/retest

@repokitteh-read-only
Copy link

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #13820 (comment) was created by @mattklein123.

see: more, trace.

@mattklein123 mattklein123 merged commit 3a32d23 into envoyproxy:master Oct 30, 2020
mpuncel added a commit to mpuncel/envoy that referenced this pull request Oct 30, 2020
* master:
  dns: preserve custom resolver after channel destruction (envoyproxy#13820)
  docs: Further updates to quick-start (envoyproxy#13793)
  wasm: update V8 to v8.7.220.10. (envoyproxy#13568)
  test: adding a test for CONNECT to an IP address (envoyproxy#13818)
  [fuzz] Scaled Load balancer fuzz to 60k hosts (envoyproxy#13771)
  Removed Circle-CI reference. (envoyproxy#13824)
  wasm: strip only Custom Sections with precompiled Wasm modules. (envoyproxy#13775)
  examples: Add dynamic configuration (filesystem) sandbox (envoyproxy#13783)
  apple dns: resolve IP addresses without calling Apple APIs (envoyproxy#13698)

Signed-off-by: Michael Puncel <mpuncel@squareup.com>
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.

Envoy stops use dns_resolvers from cluster after network restart

2 participants