Activate reminders
We are using an Azure Table as a storage for the Reminder Service. A fresh deployment comes with an empty table. When we start Silos no reminder grain is triggered as there is no registration stored in the Azure Table. What would be the best way to initialize the reminders? Should we do RegisterOrUpdateReminder in OnActivateAsync of the reminder grains, and try to activate the grains by reaching them. If so, what would be the best way to do in a multi-silo deployment? We tried to do it by participating in the silo's lifecycle and reaching the reminder grains in the stage ServiceLifecycleStage.Active, but it result in calling OnActivateAsync multiple times (one per silo).
Any reason you are deploying every time with an empty table?
This only applies to the first deployment (fresh table) or when we add a new reminder.
👀