Skip to content
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

Fix validator ordering #4211

Merged
merged 1 commit into from
Mar 13, 2018
Merged

Conversation

benjaminpetit
Copy link
Member

@benjaminpetit benjaminpetit commented Mar 13, 2018

Fix #4203

The issue is that SiloClusteringValidator get IMembershipOracle and IMembershipTable from DI, and they require themselves a lot of other components in DI...

So if this validator is called before the validators from the options used in these membership constructors, it will fail without a good error message.

I think we should move these "advanced" check in the silo startup to avoid any trouble in the future, but for now it should fix the issue.

@sergeybykov
Copy link
Contributor

I think we should move these "advanced" check in the silo startup to avoid any trouble in the future, but for now it should fix the issue.

Startup seems too late to me. I hope we can catch all validation errors at builder's build time.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NullReferenceException if EndpointOptions.AdvertisedIPAddress is not specified
4 participants