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

fix(session): expired session write request will delete other session shadow key #534

Merged
merged 6 commits into from
Sep 25, 2024

Conversation

mattisonchao
Copy link
Member

@mattisonchao mattisonchao commented Sep 25, 2024

Motivation

The expired session write request will delete other session shadow keys.

When processing a write request with an invalid session id, we are deleting the shadow key even though the write request is going to be rejected immediately after (when we check for a valid session id).

Modification

Separate the logic of writing with a session and writing without a session.

@merlimat merlimat merged commit 938b7a5 into main Sep 25, 2024
7 checks passed
@merlimat merlimat deleted the fix.session branch September 25, 2024 17:43
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