Open Drinker5 opened 5 months ago
CreateGrainAsync
if (grain is IRemindable)
{
// Used to enable reminder context on during activate
using var reminderContext =
await GetReminderActivationContext(grain, cancellation).ConfigureAwait(false);
await grain.OnActivateAsync(cancellation).ConfigureAwait(false);
_activatedGrains.Add(grain);
}
await grain.OnActivateAsync(cancellation).ConfigureAwait(false);
_activatedGrains.Add(grain);
return (T)grain;
I'm not github savvy nor have the time to fix this, so here's a freebie for someone with spare time.
IRemindable
grains are always activated twice bysilo.CreateGrainAsync
, this is happening because of this changesrepro:
result:
tested on OrleansTestKit 8.0.0/4.0.0
4.0.0-beta.3 works fine