Skip to content

[EventEngine] Make AresResolver build compatible with older c-ares versions#34314

Merged
yijiem merged 5 commits intogrpc:masterfrom
yijiem:c_ares_compatibility
Sep 12, 2023
Merged

[EventEngine] Make AresResolver build compatible with older c-ares versions#34314
yijiem merged 5 commits intogrpc:masterfrom
yijiem:c_ares_compatibility

Conversation

@yijiem
Copy link
Copy Markdown
Member

@yijiem yijiem commented Sep 11, 2023

Tested by changing c-ares to 1.14.0 in Bazel dependency and verify that the posix_event_engine_test build. The test would fail though since c-ares versions < 1.16.0 does not come with address sorting capability so the relevant test cases will fail. But this is probably sufficient to make the Cloud C++ CI job pass and unblock the 1.58 release.

@yijiem yijiem added the release notes: no Indicates if PR should not be in release notes label Sep 11, 2023
@yijiem yijiem changed the title [EventEngine] Make AresResolver build compatible with cares-1.14.0 [EventEngine] Make AresResolver build compatible older c-ares versions Sep 11, 2023
@yijiem yijiem changed the title [EventEngine] Make AresResolver build compatible older c-ares versions [EventEngine] Make AresResolver build compatible with older c-ares versions Sep 11, 2023
@yijiem yijiem requested review from apolcyn and veblush September 11, 2023 22:49
@yijiem yijiem marked this pull request as ready for review September 11, 2023 22:58
@yijiem yijiem merged commit eb37b91 into grpc:master Sep 12, 2023
yijiem added a commit to yijiem/grpc that referenced this pull request Sep 12, 2023
…versions (grpc#34314)

Tested by changing c-ares to `1.14.0` in Bazel dependency and verify
that the `posix_event_engine_test` build. The test would fail though
since c-ares versions < `1.16.0` does not come with address sorting
capability so the relevant test cases will fail. But this is probably
sufficient to make the Cloud C++ CI job pass and unblock the 1.58
release.

<!--

If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the
appropriate
lang label.

-->
nanahpang added a commit that referenced this pull request Sep 12, 2023
nanahpang added a commit that referenced this pull request Sep 12, 2023
#34325)

… c-ares versions (#34314)"

This reverts commit eb37b91.




<!--

If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the
appropriate
lang label.

-->
@copybara-service copybara-service bot added the imported Specifies if the PR has been imported to the internal repository label Sep 12, 2023
yijiem added a commit that referenced this pull request Sep 12, 2023
…ble with older c-ares versions" to v1.58.x (#34324)

Backport #34314 to v1.58.x.

<!--

If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the
appropriate
lang label.

-->
@ti-chi-bot ti-chi-bot bot mentioned this pull request Jul 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bloat/none imported Specifies if the PR has been imported to the internal repository lang/core per-call-memory/neutral per-channel-memory/neutral release notes: no Indicates if PR should not be in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants