You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there way to delete a grain + its backing store without spawning the grain?
I see there is a grain.ClearStateAsync() method which clears the grain state
luckily we use AzureTableStorage, so we also have the DeleteStateOnClear option to clear out the backing store
But to execute ClearStateAsync() I have to spawn the grain, and then expose a method to explicitly call this method
Any suggestions on how I can proceed on this? Should I not worry about spawning the grain?
I took a look at #4475
is running a housekeeping job the only option? i was expecting some sort of extension which would take in the grain primarykey/list of primarykey and clear the store without spawning the grain/s.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello all
Is there way to delete a grain + its backing store without spawning the grain?
I see there is a grain.ClearStateAsync() method which clears the grain state
luckily we use AzureTableStorage, so we also have the DeleteStateOnClear option to clear out the backing store
But to execute ClearStateAsync() I have to spawn the grain, and then expose a method to explicitly call this method
Any suggestions on how I can proceed on this? Should I not worry about spawning the grain?
I took a look at
#4475
is running a housekeeping job the only option? i was expecting some sort of extension which would take in the grain primarykey/list of primarykey and clear the store without spawning the grain/s.
Thank you
-KD
Beta Was this translation helpful? Give feedback.
All reactions