Repository navigation
stateful_session: Add Header based session state - #23145
Merged
wbpcode merged 21 commits intoOct 11, 2022
Merged
Conversation
Signed-off-by: Pawan Bishnoi <[email protected]>
Signed-off-by: Pawan Bishnoi <[email protected]>
Signed-off-by: Pawan Bishnoi <[email protected]>
Signed-off-by: Pawan Bishnoi <[email protected]>
Signed-off-by: Pawan Bishnoi <[email protected]>
Signed-off-by: Pawan Bishnoi <[email protected]>
Signed-off-by: Pawan Bishnoi <[email protected]>
|
Hi @Pawan-Bishnoi, welcome and thank you for your contribution. We will try to review your Pull Request as quickly as possible. In the meantime, please take a look at the contribution guidelines if you have not done so already. |
|
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to |
markdroth
reviewed
Sep 16, 2022
lizan
reviewed
Sep 20, 2022
inline the config instead Fix Intg test Signed-off-by: Pawan Bishnoi <[email protected]>
Signed-off-by: Pawan Bishnoi <[email protected]>
Signed-off-by: Pawan Bishnoi <[email protected]>
Signed-off-by: Pawan Bishnoi <[email protected]>
Contributor
Author
|
done @lizan |
Signed-off-by: Pawan Bishnoi <[email protected]>
Signed-off-by: Pawan Bishnoi <[email protected]>
Contributor
Author
|
@wbpcode ptal. |
wbpcode
reviewed
Oct 10, 2022
wbpcode
left a comment
Member
There was a problem hiding this comment.
LGTM overall. Thanks. Only a minor comment.
Member
|
/wait-any |
…n the value being set Signed-off-by: Pawan Bishnoi <[email protected]>
wbpcode
reviewed
Oct 10, 2022
…ng to HttpLowerCaseString Signed-off-by: Pawan Bishnoi <[email protected]>
Signed-off-by: Pawan Bishnoi <[email protected]>
wbpcode
reviewed
Oct 10, 2022
Signed-off-by: Pawan Bishnoi <[email protected]>
wbpcode
self-requested a review
October 11, 2022 02:22
wbpcode
requested changes
Oct 11, 2022
wbpcode
left a comment
Member
There was a problem hiding this comment.
LGTM for almost everything. Thanks. 🌹
could you also add a release note for this change?
Signed-off-by: Pawan Bishnoi <[email protected]>
Signed-off-by: Pawan Bishnoi <[email protected]>
Signed-off-by: Pawan Bishnoi <[email protected]>
wbpcode
reviewed
Oct 11, 2022
Signed-off-by: Pawan Bishnoi <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Commit Message: "stateful_session: Add Header based session state"
Additional Description:
Envoy already supports cookie based state management for sticky sessions.
This PR adds one more option - header based state management (as discussed here).
The header name is configurable via API.
The responsibility to pass the said header with every request falls on the client.
The rest of the behaviour is consistent with the cookie based approach.Path match is only available via StatefulSessionPerRoute.
(Reviewers may refer the existing cookie based implementation while reviewing this)
Risk Level: Low
Testing: Unit & Integration tests added.
Docs Changes: Added.
Release Notes: Waiting.
Platform Specific Features: N/A
Fixes #22475
API Considerations:
I have kept the new proto files in this repo to keep them consistent with the cookie based approach.