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
I am working Orleans samples here https://github.com/dodyg/practical-aspnetcore/tree/net6.0/projects/orleans that uses this AddRedisGrainStorage. The thing is I have to FLUSHALL in redis-cli between samples because serializations errors. How can I prevent this from happening? Is there any specific key or namespace I can add?
The text was updated successfully, but these errors were encountered:
dodyg
changed the title
How does this work?
FLUSHALL required between running different code
Dec 17, 2021
What exact serialization errors do you receive?
I assume that these are JSON serialization errors. May be your different projects use same grain interface & grain class names (including namespaces), but they have different state types in different projects. That could lead to errors if grains with same keys are reused within samples.
I am working Orleans samples here https://github.com/dodyg/practical-aspnetcore/tree/net6.0/projects/orleans that uses this AddRedisGrainStorage. The thing is I have to
FLUSHALL
in redis-cli between samples because serializations errors. How can I prevent this from happening? Is there any specific key or namespace I can add?The text was updated successfully, but these errors were encountered: