Skip to content

Revert connection pool cleanup#17319

Merged
mattklein123 merged 2 commits intoenvoyproxy:mainfrom
ggreenway:revert-conn-pool
Jul 13, 2021
Merged

Revert connection pool cleanup#17319
mattklein123 merged 2 commits intoenvoyproxy:mainfrom
ggreenway:revert-conn-pool

Conversation

@ggreenway
Copy link
Member

Commit Message: Revert #17302 and #16948. There have been multiple crashes reported. Will try again later, at an earlier point in the release cycle.
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

…xy#17302)"

This reverts commit 3c266bb.

Signed-off-by: Greg Greenway <ggreenway@apple.com>
This reverts commit 3876d7c.

Signed-off-by: Greg Greenway <ggreenway@apple.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.

😢

@mattklein123 mattklein123 merged commit b7bc539 into envoyproxy:main Jul 13, 2021
ggreenway added a commit to ggreenway/envoy that referenced this pull request Jul 19, 2021
Delete connection pools when they have no connections anymore. This
fixes unbounded memory use for cases where a new connection pool is
needed for each downstream connection, such as when using upstream
PROXY protocol.

Fixes envoyproxy#16682

This reverts commit b7bc539.
This reverts PR envoyproxy#17319, by re-adding envoyproxy#17302 and envoyproxy#16948.

Signed-off-by: Greg Greenway <ggreenway@apple.com>
Co-authored-by: Craig Radcliffe <craig.radcliffe@broadcom.com>
mum4k added a commit to mum4k/nighthawk that referenced this pull request Jul 20, 2021
- no changes in `.bazelrc`, `.bazelversion` or `ci/run_envoy_docker.sh`.
- reverting the `addIdleCallback` connection pool method back to `addDrainedCallback` as per envoyproxy/envoy#17319.
- changing method call `AsyncClientFactory::create()` to `AsyncClientFactory::createUncachedRawAsyncClient()` as per envoyproxy/envoy#15745.

Signed-off-by: Jakub Sobon <mumak@google.com>
mum4k added a commit to envoyproxy/nighthawk that referenced this pull request Jul 20, 2021
- no changes in `.bazelrc`, `.bazelversion` or `ci/run_envoy_docker.sh`.
- reverting the `addIdleCallback` connection pool method back to `addDrainedCallback` as per envoyproxy/envoy#17319.
- changing method call `AsyncClientFactory::create()` to `AsyncClientFactory::createUncachedRawAsyncClient()` as per envoyproxy/envoy#15745.

Signed-off-by: Jakub Sobon <mumak@google.com>
ggreenway added a commit that referenced this pull request Jul 26, 2021
Delete connection pools when they have no connections anymore. This
fixes unbounded memory use for cases where a new connection pool is
needed for each downstream connection, such as when using upstream
PROXY protocol.

This reverts commit b7bc539.
This reverts PR #17319, by re-adding #17302 and #16948.

Signed-off-by: Greg Greenway <ggreenway@apple.com>
Co-authored-by: Craig Radcliffe <craig.radcliffe@broadcom.com>
leyao-daily pushed a commit to leyao-daily/envoy that referenced this pull request Sep 30, 2021
This reverts commit 3c266bb.
This reverts commit 3876d7c.

Signed-off-by: Greg Greenway <ggreenway@apple.com>
leyao-daily pushed a commit to leyao-daily/envoy that referenced this pull request Sep 30, 2021
Delete connection pools when they have no connections anymore. This
fixes unbounded memory use for cases where a new connection pool is
needed for each downstream connection, such as when using upstream
PROXY protocol.

This reverts commit b7bc539.
This reverts PR envoyproxy#17319, by re-adding envoyproxy#17302 and envoyproxy#16948.

Signed-off-by: Greg Greenway <ggreenway@apple.com>
Co-authored-by: Craig Radcliffe <craig.radcliffe@broadcom.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.

2 participants