Is AdoNetStorage provider has 'DeleteStateOnClear' or any alternatives?
- Dominant language
- C#
- Stars
- 10.9k
- Forks
- 2.1k
- Avg merge
- 13h 56m
- Merged PRs (30d)
- 351
Description
Hello,
We use SQL Server in our system, hence we use AdoNetStorage provider for persistence according documentation: https://learn.microsoft.com/en-us/dotnet/orleans/grains/grain-persistence/relational-storage
When we trying to clear state using "ClearStateAsync" with AdoNet storage provider it just NULL state of the record in database w/o removing it.
Does MS Orleans have any ways to completely remove a record from a SQL Server database?
I see Azure storage provider has option 'DeleteStateOnClear', but AdoNet not.
Contributor guide
Research direction
Start with the relational storage documentation and the AdoNetStorage behavior invoked by ClearStateAsync, then compare it with Azure storage's DeleteStateOnClear option. Done means establishing whether SQL Server records can be completely removed and, if not, defining the scope for equivalent support or a documented alternative.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, sql
- Domain
- databases, distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100