You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
State inconsistency bug in orleans/Chirper/Chirper.Grains/ChirperAccount.cs #7124
FollowUserIdAsync and UnfollowUserIdAsync may not interleave, but the grain is reentrant. Interleaving can cause 2 problems if both methods get called with the same username on the same grain:
If a user gets followed, but between the remote and local update, he gets unfollowed, the local state says the user is followed, but the remote state says the user is not followed. Same vice versa.
The follow and unfollow commands may arrive on the other grain in reverse of sending order, causing the same inconsistencies.
Activity
fix state inconsistency in Orleans Chirper account (issue dotnet#7124)