-
Notifications
You must be signed in to change notification settings - Fork 2k
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
ReminderTableGrain does not work alongside MembershipTableGrain #2386
Comments
I think it has to be: ReminderServiceProviderType. http://dotnet.github.io/orleans/Documentation/Orleans-Configuration-Guide/Server-Configuration.html |
I'm trying to wrap my head around this code - https://github.com/dotnet/orleans/blob/master/src/Orleans/Configuration/GlobalConfiguration.cs#L756, and it's not immediately obvious to me if it's correct or not. I can't even find where we would parse |
I figured out what's happening here. Prior to this the default was always <SystemStore SystemStoreType="MembershipTableGrain" /> |
Is this related to #2527? |
Yes and no... If I am not mistaken, <Liveness LivenessType="MembershipTableGrain" /> is useless, we do not parse LivenessType here. Same thing for <ReminderService ReminderServiceType="ReminderTableGrain" /> The only way to set LivenessType and ReminderServiceType using XML config is to use <SystemStore SystemStoreType="xxx" /> I am not sure we want to make change in XML config right now; to enable your scenario currently you would have to use programmatic configuration. |
Or we could do a dirty workaround, that when we have this in config: <SystemStore SystemStoreType="MembershipTableGrain" /> we set ReminderServiceType to ReminderTableGrain |
we set ReminderServiceType to ReminderTableGrain I don't view this as a 'dirty workaround'. Since XML config doesn't support separate configurations for membership and reminders in cases other than |
Resolved via #2590. |
Issue with reminders configured with the ReminderTableGrain (from XML): it's not getting the right config apparently, and gives the error "Cannot RegisterOrUpdateReminder when ReminderServiceProviderType is Disabled"; it works fine with SQL store.
Sample config:
The text was updated successfully, but these errors were encountered: