Orleans.Sagas
Orleans.Sagas copied to clipboard
Support named storage provider
Currently, Saga state storage uses the default grain storage provider configured for Orleans. Using a named storage provider would allow for separate storage configuration, including potentially TTL configuration, which might help with issues like Infinite growth of state after saga completions #37. (Not sure if this could be done without being a breaking change.)
Would the preference be to add a custom [StorageProvider]
attribute to SagaGrain
and SagaCancellationGrain
?
The trade off of this would be user would have to explicitly define the storage provider for that id.
Yes, that is what I was thinking.