Skip to content

upstream: support max connection duration for upstream HTTP connections#17932

Merged
alyssawilk merged 53 commits intoenvoyproxy:mainfrom
esmet:max-upstream-connection-duration
Oct 14, 2021
Merged

upstream: support max connection duration for upstream HTTP connections#17932
alyssawilk merged 53 commits intoenvoyproxy:mainfrom
esmet:max-upstream-connection-duration

Conversation

@esmet
Copy link
Contributor

@esmet esmet commented Aug 31, 2021

Commit Message: upstream: support max connection duration for upstream connections
Risk Level: low, isolated opt-in feature
Testing: new unit tests
Docs Changes: updated protobuf definition to no longer mention that max lifetime is not implemented for upstream connections
Release Notes: upstream: support max connection duration for upstream connections
Platform Specific Features:
Fixes #15107

Signed-off-by: John Esmet <john.esmet@gmail.com>
Signed-off-by: John Esmet <john.esmet@gmail.com>
Signed-off-by: John Esmet <john.esmet@gmail.com>
Signed-off-by: John Esmet <john.esmet@gmail.com>
…tion-duration

Signed-off-by: John Esmet <john.esmet@gmail.com>
Signed-off-by: John Esmet <john.esmet@gmail.com>
@repokitteh-read-only
Copy link

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #17932 was opened by esmet.

see: more, trace.

@repokitteh-read-only
Copy link

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to api/envoy/.
envoyproxy/api-shepherds assignee is @htuch
CC @envoyproxy/api-watchers: FYI only for changes made to api/envoy/.

🐱

Caused by: #17932 was opened by esmet.

see: more, trace.

esmet added 2 commits August 31, 2021 18:44
…tion-duration

Signed-off-by: John Esmet <john.esmet@gmail.com>
Signed-off-by: John Esmet <john.esmet@gmail.com>
Copy link
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

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

/lgtm api

@repokitteh-read-only repokitteh-read-only bot removed the api label Sep 1, 2021
@htuch htuch removed their assignment Sep 1, 2021
@htuch
Copy link
Member

htuch commented Sep 1, 2021

/assign-from @envoyproxy/first-pass-reviewers

@repokitteh-read-only
Copy link

@envoyproxy/first-pass-reviewers assignee is @jmarantz

🐱

Caused by: a #17932 (comment) was created by @htuch.

see: more, trace.

Signed-off-by: John Esmet <john.esmet@gmail.com>
Signed-off-by: John Esmet <john.esmet@gmail.com>
Signed-off-by: John Esmet <john.esmet@gmail.com>
Signed-off-by: John Esmet <john.esmet@gmail.com>
@esmet esmet marked this pull request as ready for review September 2, 2021 00:06
Copy link
Contributor

@jmarantz jmarantz left a comment

Choose a reason for hiding this comment

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

looks good but would like a test that pulls everything together with SImulatedTime.

…ulated time.

Signed-off-by: John Esmet <john.esmet@gmail.com>
Signed-off-by: John Esmet <john.esmet@gmail.com>
Signed-off-by: John Esmet <john.esmet@gmail.com>
@esmet
Copy link
Contributor Author

esmet commented Sep 7, 2021

I'm working on a fix for the ASAN failure in the new test.

… reliable. Also, use a better source for host() for checking cluster stats.

Signed-off-by: John Esmet <john.esmet@gmail.com>
esmet added 3 commits October 6, 2021 21:33
Signed-off-by: John Esmet <john.esmet@gmail.com>
…tion-duration

Signed-off-by: John Esmet <john.esmet@gmail.com>
Signed-off-by: John Esmet <john.esmet@gmail.com>
@esmet
Copy link
Contributor Author

esmet commented Oct 7, 2021

Unfortunately looks like this needs a main merge which should hopefully fix both the conflict and the coverage flake.

Yep and I still need to address your comment about adding an integration test

@alyssawilk done. I added an integration test to verify the basic flow.

Signed-off-by: John Esmet <john.esmet@gmail.com>
alyssawilk
alyssawilk previously approved these changes Oct 7, 2021
Copy link
Contributor

@alyssawilk alyssawilk left a comment

Choose a reason for hiding this comment

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

Awesome! I think unfortunately you need one more main merge (release notes are conflict prone just after the release)

esmet added 2 commits October 7, 2021 12:07
…tion-duration

Signed-off-by: John Esmet <john.esmet@gmail.com>
Signed-off-by: John Esmet <john.esmet@gmail.com>
@esmet
Copy link
Contributor Author

esmet commented Oct 7, 2021

@alyssawilk done!

alyssawilk
alyssawilk previously approved these changes Oct 11, 2021
@alyssawilk
Copy link
Contributor

/assign-from @envoyproxy/api-shepherds for comment update

@repokitteh-read-only
Copy link

@envoyproxy/api-shepherds assignee is @lizan
for assignee is @None
comment assignee is @None
update assignee is @None

🐱

Caused by: a #17932 (comment) was created by @alyssawilk.

see: more, trace.

@alyssawilk
Copy link
Contributor

sorry about the lag: Lizan was running EnvoyCon yesterday and may be behind today due to in person con stuff as well
@markdroth could you take a look instead?

@markdroth
Copy link
Contributor

/lgtm api

Please change the PR title and the commit message to say "max connection duration" instead of "max stream duration". Thanks!

@alyssawilk alyssawilk changed the title upstream: support max stream duration for upstream connections upstream: support max connection duration for upstream connections Oct 13, 2021
@alyssawilk alyssawilk changed the title upstream: support max connection duration for upstream connections upstream: support max connection duration for upstream HTTP connections Oct 13, 2021
@alyssawilk
Copy link
Contributor

Super sorry but this now needs a main merge because of version history conflicts :-/

esmet added 2 commits October 13, 2021 13:51
…tion-duration

Signed-off-by: John Esmet <john.esmet@gmail.com>
Signed-off-by: John Esmet <john.esmet@gmail.com>
…tion-duration

Signed-off-by: John Esmet <john.esmet@gmail.com>
@alyssawilk alyssawilk merged commit 9a4a861 into envoyproxy:main Oct 14, 2021
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.

Upstream max connection duration should be configurable.

7 participants