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

FLUSHALL required between running different code #22

Open
dodyg opened this issue Dec 17, 2021 · 1 comment
Open

FLUSHALL required between running different code #22

dodyg opened this issue Dec 17, 2021 · 1 comment

Comments

@dodyg
Copy link

dodyg commented Dec 17, 2021

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?

@dodyg dodyg changed the title How does this work? FLUSHALL required between running different code Dec 17, 2021
@f-i-x-7
Copy link
Contributor

f-i-x-7 commented Jan 14, 2022

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.

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

No branches or pull requests

2 participants