Skip to content

fallback to upstream when sessions are missing from cache#36364

Merged
fspmarshall merged 2 commits intomasterfrom
fspmarshall/session-fallback
Jan 8, 2024
Merged

fallback to upstream when sessions are missing from cache#36364
fspmarshall merged 2 commits intomasterfrom
fspmarshall/session-fallback

Conversation

@fspmarshall
Copy link
Copy Markdown
Contributor

This PR adds upstream fallbacks for the direct lookup methods of the WebSession family of types. Intended to mitigate spurious access denied errors caused by failing session lookups. Use of this pattern is well-established for other critical resources such as User, and is helpful in mitigating the effect of cache bugs and racy lookups.

changelog: Fixed an issue where bad cache state could cause spurious access denied errors during app access.

@fspmarshall fspmarshall force-pushed the fspmarshall/session-fallback branch from 0265c29 to ef49082 Compare January 6, 2024 00:15
@fspmarshall fspmarshall added this pull request to the merge queue Jan 8, 2024
Merged via the queue into master with commit 7989ac4 Jan 8, 2024
@fspmarshall fspmarshall deleted the fspmarshall/session-fallback branch January 8, 2024 18:50
@public-teleport-github-review-bot
Copy link
Copy Markdown

@fspmarshall See the table below for backport results.

Branch Result
branch/v13 Create PR
branch/v14 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants