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

Backport #29213 to v1.45.x: Fix for cancelled calls #29240

Merged
merged 1 commit into from
Mar 29, 2022

Conversation

veblush
Copy link
Contributor

@veblush veblush commented Mar 28, 2022

Backport #29213

@veblush veblush requested a review from ctiller March 28, 2022 22:03
@veblush veblush added release notes: no Indicates if PR should not be in release notes lang/core labels Mar 28, 2022
@veblush veblush enabled auto-merge (squash) March 28, 2022 22:24
@veblush veblush closed this Mar 29, 2022
auto-merge was automatically disabled March 29, 2022 03:06

Pull request was closed

@veblush veblush reopened this Mar 29, 2022
@veblush veblush merged commit d7b7404 into grpc:v1.45.x Mar 29, 2022
gcf-merge-on-green bot pushed a commit to googleapis/gapic-generator-php that referenced this pull request Apr 1, 2022
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [com_github_grpc_grpc](https://togithub.com/grpc/grpc) | http_archive | patch | `v1.45.0` -> `v1.45.1` |

---

### Release Notes

<details>
<summary>grpc/grpc</summary>

### [`v1.45.1`](https://togithub.com/grpc/grpc/releases/v1.45.1)

[Compare Source](https://togithub.com/grpc/grpc/compare/v1.45.0...v1.45.1)

This is release 1.45.1 ([gravity](https://togithub.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core.

For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://togithub.com/grpc/grpc/releases).

This release contains refinements, improvements, and bug fixes, with highlights listed below.

## Core

-   Switched to epoll1 as a default polling engine for Linux ([#&#8203;29239](https://togithub.com/grpc/grpc/pull/29239))
-   Various fixes related to XDS ([grpc/grpc#29240, [grpc/grpc#29242,  [grpc/grpc#29243,  [grpc/grpc#29244, [grpc/grpc#29280)

## Python

-   Revert "Remove GRPC_ENABLE_FORK_SUPPORT from setup.py" ([#&#8203;29230](https://togithub.com/grpc/grpc/pull/29230))

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/gapic-generator-php).
lidizheng added a commit that referenced this pull request Apr 5, 2022
* Fix state machine (#29036) (#29055)

* Bump version to 1.45.0-pre1 (on v1.45.x branch) (#29065)

* bump version to 1.45.0-pre1

* regenerate projects

* Remove GRPC_ENABLE_FORK_SUPPORT from setup.py (#29103) (#29120)

* decrease verbosity of alts handshaker logs which can happen during cancellation (#29058) (#29119)

* Include ADS stream error in XDS error updates (#29014) (#29121)

* include ADS stream error in XDS error updates

* Re-package XDS client errors into unavailable rather than unknown, in XDS resolver

* TrySeq fix (#29112) (#29139)

Co-authored-by: Craig Tiller <ctiller@google.com>

* Bump version to 1.45.0 (on v1.45.x branch) (#29154)

* bump version to 1.45.0

* regenerate projects

* Fix C# "dotnet restore" on grpc-win2016 kokoro workers. (#29179)

* avoid collision with pre-installed protoc on grpc-win2016 workers (#29180)

* Switched to epoll1 as a default polling engine for Linux (#29239)

* Revert "Remove GRPC_ENABLE_FORK_SUPPORT from setup.py (#29103) (#29120)" (#29230)

This reverts commit 39dca57.

* priority LB: avoid possibility of rescheduling a timer before it fires (#29188) (#29241)

* priority LB: avoid possibility of rescheduling a timer before it fires

* clang-format

* fix memory leak

* small change, just to be paranoid

* inline StartFailoverTimerLocked()

* initialize timer_pending_ to true

* don't check shutting_down_ in timer callbacks

Co-authored-by: Mark D. Roth <roth@google.com>

* client channel: record call completion even if recv_trailing_metadata was not started (#29198) (#29242)

* client channel: record call completion even if recv_trailing_metadata was not started

* add test

* add test for opencensus filter

* remove unnecessary code

Co-authored-by: Mark D. Roth <roth@google.com>

* weighted_target_lb: avoid possibility of rescheduling a timer before it fires (#29203) (#29243)

* weighted_target_lb: avoid possibility of rescheduling a timer before it fires

* don't check shutdown_ or weight_ in timer callback

* fix memory leak

Co-authored-by: Mark D. Roth <roth@google.com>

* Fix for cancelled calls (#29213) (#29240)

Co-authored-by: Craig Tiller <ctiller@google.com>

* xds_cluster_resolver: fix bug that caused us to incorrectly reuse priority child names (#29174) (#29244)

* xds_cluster_resolver: fix bug that caused us to incorrectly reuse priority child names

* add debug logging

* assign child policy names within each discovery mechanism, not across all mechanisms

* clang-format

* add tests

* don't need EDS service name or LOGICAL_DNS hostname in child name

* remove unnecessary code

* Decrease verbosity of log messages that can happen during ALTS handshake cancellation (#29255) (#29280)

* Bump the version to v1.45.1 (#29278)

* Version to 1.45.1

* Generate projects

* priority LB: don't update picker while update is in flight (#29252) (#29314)

Co-authored-by: Mark D. Roth <roth@google.com>

* resolve conflict

Co-authored-by: Craig Tiller <ctiller@google.com>
Co-authored-by: AJ Heller <hork@google.com>
Co-authored-by: Lidi Zheng <lidiz@google.com>
Co-authored-by: apolcyn <apolcyn@google.com>
Co-authored-by: Jan Tattermusch <jtattermusch@users.noreply.github.com>
Co-authored-by: Esun Kim <veblush@google.com>
Co-authored-by: Mark D. Roth <roth@google.com>
wanlin31 pushed a commit that referenced this pull request Apr 19, 2022
* Fix state machine (#29036) (#29055)

* Bump version to 1.45.0-pre1 (on v1.45.x branch) (#29065)

* bump version to 1.45.0-pre1

* regenerate projects

* Remove GRPC_ENABLE_FORK_SUPPORT from setup.py (#29103) (#29120)

* decrease verbosity of alts handshaker logs which can happen during cancellation (#29058) (#29119)

* Include ADS stream error in XDS error updates (#29014) (#29121)

* include ADS stream error in XDS error updates

* Re-package XDS client errors into unavailable rather than unknown, in XDS resolver

* TrySeq fix (#29112) (#29139)

Co-authored-by: Craig Tiller <ctiller@google.com>

* Bump version to 1.45.0 (on v1.45.x branch) (#29154)

* bump version to 1.45.0

* regenerate projects

* Fix C# "dotnet restore" on grpc-win2016 kokoro workers. (#29179)

* avoid collision with pre-installed protoc on grpc-win2016 workers (#29180)

* Switched to epoll1 as a default polling engine for Linux (#29239)

* Revert "Remove GRPC_ENABLE_FORK_SUPPORT from setup.py (#29103) (#29120)" (#29230)

This reverts commit 39dca57.

* priority LB: avoid possibility of rescheduling a timer before it fires (#29188) (#29241)

* priority LB: avoid possibility of rescheduling a timer before it fires

* clang-format

* fix memory leak

* small change, just to be paranoid

* inline StartFailoverTimerLocked()

* initialize timer_pending_ to true

* don't check shutting_down_ in timer callbacks

Co-authored-by: Mark D. Roth <roth@google.com>

* client channel: record call completion even if recv_trailing_metadata was not started (#29198) (#29242)

* client channel: record call completion even if recv_trailing_metadata was not started

* add test

* add test for opencensus filter

* remove unnecessary code

Co-authored-by: Mark D. Roth <roth@google.com>

* weighted_target_lb: avoid possibility of rescheduling a timer before it fires (#29203) (#29243)

* weighted_target_lb: avoid possibility of rescheduling a timer before it fires

* don't check shutdown_ or weight_ in timer callback

* fix memory leak

Co-authored-by: Mark D. Roth <roth@google.com>

* Fix for cancelled calls (#29213) (#29240)

Co-authored-by: Craig Tiller <ctiller@google.com>

* xds_cluster_resolver: fix bug that caused us to incorrectly reuse priority child names (#29174) (#29244)

* xds_cluster_resolver: fix bug that caused us to incorrectly reuse priority child names

* add debug logging

* assign child policy names within each discovery mechanism, not across all mechanisms

* clang-format

* add tests

* don't need EDS service name or LOGICAL_DNS hostname in child name

* remove unnecessary code

* Decrease verbosity of log messages that can happen during ALTS handshake cancellation (#29255) (#29280)

* Bump the version to v1.45.1 (#29278)

* Version to 1.45.1

* Generate projects

* priority LB: don't update picker while update is in flight (#29252) (#29314)

Co-authored-by: Mark D. Roth <roth@google.com>

* resolve conflict

Co-authored-by: Craig Tiller <ctiller@google.com>
Co-authored-by: AJ Heller <hork@google.com>
Co-authored-by: Lidi Zheng <lidiz@google.com>
Co-authored-by: apolcyn <apolcyn@google.com>
Co-authored-by: Jan Tattermusch <jtattermusch@users.noreply.github.com>
Co-authored-by: Esun Kim <veblush@google.com>
Co-authored-by: Mark D. Roth <roth@google.com>
wanlin31 pushed a commit that referenced this pull request Apr 20, 2022
* Fix state machine (#29036) (#29055)

* Bump version to 1.45.0-pre1 (on v1.45.x branch) (#29065)

* bump version to 1.45.0-pre1

* regenerate projects

* Remove GRPC_ENABLE_FORK_SUPPORT from setup.py (#29103) (#29120)

* decrease verbosity of alts handshaker logs which can happen during cancellation (#29058) (#29119)

* Include ADS stream error in XDS error updates (#29014) (#29121)

* include ADS stream error in XDS error updates

* Re-package XDS client errors into unavailable rather than unknown, in XDS resolver

* TrySeq fix (#29112) (#29139)

Co-authored-by: Craig Tiller <ctiller@google.com>

* Bump version to 1.45.0 (on v1.45.x branch) (#29154)

* bump version to 1.45.0

* regenerate projects

* Fix C# "dotnet restore" on grpc-win2016 kokoro workers. (#29179)

* avoid collision with pre-installed protoc on grpc-win2016 workers (#29180)

* Switched to epoll1 as a default polling engine for Linux (#29239)

* Revert "Remove GRPC_ENABLE_FORK_SUPPORT from setup.py (#29103) (#29120)" (#29230)

This reverts commit 39dca57.

* priority LB: avoid possibility of rescheduling a timer before it fires (#29188) (#29241)

* priority LB: avoid possibility of rescheduling a timer before it fires

* clang-format

* fix memory leak

* small change, just to be paranoid

* inline StartFailoverTimerLocked()

* initialize timer_pending_ to true

* don't check shutting_down_ in timer callbacks

Co-authored-by: Mark D. Roth <roth@google.com>

* client channel: record call completion even if recv_trailing_metadata was not started (#29198) (#29242)

* client channel: record call completion even if recv_trailing_metadata was not started

* add test

* add test for opencensus filter

* remove unnecessary code

Co-authored-by: Mark D. Roth <roth@google.com>

* weighted_target_lb: avoid possibility of rescheduling a timer before it fires (#29203) (#29243)

* weighted_target_lb: avoid possibility of rescheduling a timer before it fires

* don't check shutdown_ or weight_ in timer callback

* fix memory leak

Co-authored-by: Mark D. Roth <roth@google.com>

* Fix for cancelled calls (#29213) (#29240)

Co-authored-by: Craig Tiller <ctiller@google.com>

* xds_cluster_resolver: fix bug that caused us to incorrectly reuse priority child names (#29174) (#29244)

* xds_cluster_resolver: fix bug that caused us to incorrectly reuse priority child names

* add debug logging

* assign child policy names within each discovery mechanism, not across all mechanisms

* clang-format

* add tests

* don't need EDS service name or LOGICAL_DNS hostname in child name

* remove unnecessary code

* Decrease verbosity of log messages that can happen during ALTS handshake cancellation (#29255) (#29280)

* Bump the version to v1.45.1 (#29278)

* Version to 1.45.1

* Generate projects

* priority LB: don't update picker while update is in flight (#29252) (#29314)

Co-authored-by: Mark D. Roth <roth@google.com>

* resolve conflict

Co-authored-by: Craig Tiller <ctiller@google.com>
Co-authored-by: AJ Heller <hork@google.com>
Co-authored-by: Lidi Zheng <lidiz@google.com>
Co-authored-by: apolcyn <apolcyn@google.com>
Co-authored-by: Jan Tattermusch <jtattermusch@users.noreply.github.com>
Co-authored-by: Esun Kim <veblush@google.com>
Co-authored-by: Mark D. Roth <roth@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bloat/none lang/core perf-change/medium 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.

None yet

2 participants