Orleans.Redis icon indicating copy to clipboard operation
Orleans.Redis copied to clipboard

Grain multiple states

Open wz172 opened this issue 2 years ago • 1 comments

Hi looks like U are not supporting multiple states inside grains.

Like:

[PersistentState("RealtimeInteractions", OrleansConstants.SessionServicePersistenceStoreName)] IPersistentState interactions;

wz172 avatar Jul 27 '22 13:07 wz172

Same issue here, stateName/grainType parameter in WriteStateAsync is not being made use of, which means if you have multiple states for a grain they all end up written to the same key. It's a big issue!

binginsin avatar Dec 21 '23 14:12 binginsin