Data races in ServerSideSessions #635
Unanswered
aomader
asked this question in
IdentityServer
Replies: 2 comments 1 reply
|
Thanks for reporting. We'll take a look. |
0 replies
|
@aomader we were discussing this with the team and had some questions. If you see this on serversidesessions, it is kind of expected that we have conflicts, but since its a rolling window that shouldn't really matter. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am wondering (more, I assume) that there are silent data races going on in the
ServerSideSessions, since multiple writers exist and no synchronization is happening, leading to silent loss of data.We tested this by explicitly marking
Dataas a concurrency token, so that we could see data races. When we were extending the user claims (and thus theAuthenticationTicket), we were seeingDbUpdateConcurrencyExceptions.I would assume that this issue can be provoked by any kind of session modification currently, also from build-in ones, like the session coordination service that extends a session's lifetime.
All reactions