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

Support named storage provider #50

Open
cbgrasshopper opened this issue Aug 6, 2021 · 2 comments
Open

Support named storage provider #50

cbgrasshopper opened this issue Aug 6, 2021 · 2 comments
Labels

Comments

@cbgrasshopper
Copy link

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.)

@creyke
Copy link
Collaborator

creyke commented Aug 9, 2021

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.

@cbgrasshopper
Copy link
Author

Yes, that is what I was thinking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants