dotnet/orleans

the explanation of EntryExpiry in RedisGrainStorage feels ambigious.

scalalang2 opened this issue · 1 comments

The explanation states that EntryExpiry in RedisGrainStorage have to be set only with testing environment.

I looked at issue #8630, but I think it might only apply to GrainDirectory with Redis.

My question is: I just want to use Redis for persistent state storage, not as a grain directory. Does the issue still apply in this case?

I experimented this by myself.
If the state is deleted regardless of activation state of the grain, then following an error appears.
Orleans.Persistence.RedisGrainStorage InconsistentStateException: Version conflict (WriteStateAsync)