envoy icon indicating copy to clipboard operation
envoy copied to clipboard

honor connection_pool_per_downstream_connection in tcp_conn_pool

Open Pawan-Bishnoi opened this issue 1 year ago • 11 comments

Commit Message: this flag is already supported by httpConnPool. Adding to tcpConnPool as well so that thrift_proxy etc can use this feature. Risk Level: low Fixes #34762

Pawan-Bishnoi avatar Jun 15 '24 09:06 Pawan-Bishnoi

@zuercher Could you please take a look at this PR when you have time.

Looks like you are the domain expert on tcp connection pool (original author) and code owner of thrift proxy.

Thanks

tyxia avatar Jun 17 '24 14:06 tyxia

/retest

tyxia avatar Jun 17 '24 14:06 tyxia

This needs a test, similar to the existing one that exercises the HTTP version of this feature (See ClusterManagerImplTest's ConnectionPoolPerDownstreamConnection in test/common/upstream/cluster_manager_impl_test.cc.

zuercher avatar Jun 18 '24 00:06 zuercher

added ConnectionPoolPerDownstreamConnection_tcp can use a better name if needed :)

Pawan-Bishnoi avatar Jun 18 '24 12:06 Pawan-Bishnoi

/retest failed

Pawan-Bishnoi avatar Jun 20 '24 15:06 Pawan-Bishnoi

The CI is acting really flaky for me

/retest failed

Pawan-Bishnoi avatar Jun 20 '24 16:06 Pawan-Bishnoi

I was able to get some to pass, but the publish and verify test is failing on master as well. However, the failure here is different. It might be the base that merging master will help.

zuercher avatar Jun 21 '24 06:06 zuercher

I was able to get some to pass, but the publish and verify test is failing on master as well. However, the failure here is different. It might be the base that merging master will help.

I did rebase 15h ago. Can try again later today

Pawan-Bishnoi avatar Jun 21 '24 07:06 Pawan-Bishnoi

/retest

Pawan-Bishnoi avatar Jun 27 '24 12:06 Pawan-Bishnoi

The other thing this PR needs is a release note for the change. Up to you whether you call it a bug fix or a minor behavior change.

zuercher avatar Jun 28 '24 00:06 zuercher

done @zuercher

Pawan-Bishnoi avatar Jun 28 '24 06:06 Pawan-Bishnoi

/retest

zuercher avatar Jul 02 '24 19:07 zuercher

/retest

Pawan-Bishnoi avatar Jul 04 '24 15:07 Pawan-Bishnoi

/retest

Pawan-Bishnoi avatar Jul 05 '24 07:07 Pawan-Bishnoi

I have never had so much trouble with Envoy CI before 😄

System.IO.IOException: No space left on device : '/home/runner/runners/2.317.0/_diag/Worker_20240715-035746-utc.log' My other PR passed without issues. This error doesn't look related to my changes but haven't seen a single success after so many re-runs 🤔

/retest

Pawan-Bishnoi avatar Jul 16 '24 11:07 Pawan-Bishnoi

/retest failed

Pawan-Bishnoi avatar Jul 16 '24 14:07 Pawan-Bishnoi

/retest failed

Pawan-Bishnoi avatar Jul 17 '24 13:07 Pawan-Bishnoi

@zuercher CodeQL isn't a mandatory check it seems. Do you think it is worth blocking on this 'no disk space' failure or is this PR good to go 🤔

Pawan-Bishnoi avatar Jul 18 '24 03:07 Pawan-Bishnoi

it was fixed here: https://github.com/envoyproxy/envoy/pull/35231

retrying the build

Pawan-Bishnoi avatar Jul 19 '24 03:07 Pawan-Bishnoi

/retest failed

Pawan-Bishnoi avatar Jul 19 '24 12:07 Pawan-Bishnoi

/retest failed

Pawan-Bishnoi avatar Jul 24 '24 11:07 Pawan-Bishnoi

@zuercher CodeQL isn't a mandatory check it seems. Do you think it is worth blocking on this 'no disk space' failure or is this PR good to go 🤔

I was out last week in any event, but I don't have permissions to bypass the checks. Looks like it's working now, though.

zuercher avatar Jul 24 '24 16:07 zuercher