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

network: add enableDrainPostDnsRefresh to iOS #2242

Merged
merged 10 commits into from
May 3, 2022

Conversation

Augustyniak
Copy link
Contributor

@Augustyniak Augustyniak commented May 3, 2022

Signed-off-by: Rafal Augustyniak raugustyniak@lyft.com

Description: Expose an option to enable connections draining post dns refresh on Engine iOS builder. This change was accidentally not implemented as part of #2225.
Risk Level: Low, addition of a new functionality.
Testing: Unit
Docs Changes:
Release Notes: updated

Signed-off-by: Rafal Augustyniak <raugustyniak@lyft.com>
Signed-off-by: Rafal Augustyniak <raugustyniak@lyft.com>
Signed-off-by: Rafal Augustyniak <raugustyniak@lyft.com>
Signed-off-by: Rafal Augustyniak <raugustyniak@lyft.com>
Signed-off-by: Rafal Augustyniak <raugustyniak@lyft.com>
Signed-off-by: Rafal Augustyniak <raugustyniak@lyft.com>
Signed-off-by: Rafal Augustyniak <raugustyniak@lyft.com>
@Augustyniak Augustyniak changed the title network: add enableDrainPostDnsRefresh to swift network: add enableDrainPostDnsRefresh to iOS May 3, 2022
@Augustyniak Augustyniak requested review from jpsim and goaway May 3, 2022 15:45
jpsim
jpsim previously approved these changes May 3, 2022
Copy link
Contributor

@jpsim jpsim left a comment

Choose a reason for hiding this comment

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

Can you or @goaway follow up with updates to the docs and changelog in the next few days?

library/swift/EngineBuilder.swift Outdated Show resolved Hide resolved
@Augustyniak
Copy link
Contributor Author

Can you or @goaway follow up with updates to the docs and changelog in the next few days?

Sure, I will let @goaway handle it as he was planning to do this I think. If not I will follow up on my own.

Co-authored-by: JP Simard <jp@jpsim.com>
Signed-off-by: Rafal Augustyniak <raugustyniak@lyft.com>
@Augustyniak Augustyniak force-pushed the add-enableDrainPostDnsRefresh-method-to-ios branch from 770df66 to 7267d84 Compare May 3, 2022 15:50
Signed-off-by: Rafal Augustyniak <raugustyniak@lyft.com>
@Augustyniak
Copy link
Contributor Author

@jpsim added release notes in 39d5934

@Augustyniak Augustyniak requested a review from jpsim May 3, 2022 16:08
@@ -6,7 +6,7 @@ Pending Release

Breaking changes:

- None
- remove `drainConnections` method. (:issue:`#2225 <2225>`).
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggestion:

Suggested change
- remove `drainConnections` method. (:issue:`#2225 <2225>`).
- api: replace the `drainConnections()` method with a broader `resetConnectivityState()`. (:issue:`#2225 <2225>`).

And remove the entry further down.

Signed-off-by: Rafal Augustyniak <raugustyniak@lyft.com>
@Augustyniak Augustyniak requested a review from jpsim May 3, 2022 16:14
@Augustyniak Augustyniak enabled auto-merge (squash) May 3, 2022 16:23
@Augustyniak Augustyniak merged commit f9a352b into main May 3, 2022
@Augustyniak Augustyniak deleted the add-enableDrainPostDnsRefresh-method-to-ios branch May 3, 2022 16:30
jpsim added a commit that referenced this pull request May 3, 2022
…rtion

* origin/main: (57 commits)
  network: add enableDrainPostDnsRefresh to iOS (#2242)
  envoy: update to em-cherry (#2241)
  network: support draining connections after triggered DNS refresh (#2225)
  Bump rules_apple to 0.34.2 (#2236)
  Bump Lyft Support Rotation (#2232)
  ci: add support for `/retest` command (#2219)
  format: add SwiftLint to check-format script (#2230)
  use 64 bit emulators for test (#2228)
  envoy: update to `d0befbb` & add `h2ExtendKeepaliveTimeout` (#2229)
  Add Ryan Hamilton to OWNERS.md (#2224)
  Android cert verifier: first import from chromium/net (#2222)
  Cleanup: remove the unused stats sink metrics_service (#2220)
  bazel: move back to symbol mapping table files (#2218)
  Add new version history section (#2209)
  build: simplify jnilib copy (#2214)
  ci: Update macOS version to macOS 12 (#2208)
  Update releasing.rst (#2200)
  support: Post Lyft support rotation changes to Slack (#2207)
  Don't run bump_support_rotation GitHub Action on forks (#2204)
  Release 0.4.6 (#2201)
  ...

Signed-off-by: JP Simard <jp@jpsim.com>
jpsim added a commit that referenced this pull request May 5, 2022
…ol--fix-documentation-comment-issues

* origin/main:
  Fix `bump_lyft_support_rotation.sh` posting to Slack (#2234)
  jni: fix mismatched return value types (#2252)
  Remove bintray as a maven source (#2248)
  test: refine connection drain test (#2245)
  cleanup: remove comment in Http::Client that no longer applies (#2203)
  cleanup: fix test with inaccurate description (#2202)
  network: perform post-DNS connection drain on a per-host basis (#2240)
  network: add enableDrainPostDnsRefresh to iOS (#2242)
  envoy: update to em-cherry (#2241)
  network: support draining connections after triggered DNS refresh (#2225)
  Bump rules_apple to 0.34.2 (#2236)
  Bump Lyft Support Rotation (#2232)

Signed-off-by: JP Simard <jp@jpsim.com>
jpsim added a commit that referenced this pull request May 6, 2022
* main:
  envoy: update to efbbb04 (#2258)
  Update rules_java, rules_detekt, rules_jvm_external (#2249)
  Upgrade rules_jvm_external from 4.1 -> 4.2 (#2254)
  CancelProofEnvoyStream (#2250)
  swift: add DrString tool & fix documentation comment issues (#2233)
  Fix `bump_lyft_support_rotation.sh` posting to Slack (#2234)
  jni: fix mismatched return value types (#2252)
  Remove bintray as a maven source (#2248)
  test: refine connection drain test (#2245)
  cleanup: remove comment in Http::Client that no longer applies (#2203)
  cleanup: fix test with inaccurate description (#2202)
  network: perform post-DNS connection drain on a per-host basis (#2240)
  network: add enableDrainPostDnsRefresh to iOS (#2242)
  envoy: update to em-cherry (#2241)
  network: support draining connections after triggered DNS refresh (#2225)

Signed-off-by: JP Simard <jp@jpsim.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.

None yet

2 participants