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

Properties can configure for Sharding and Master-slave independent #1004

Closed
terrymanu opened this issue Jul 12, 2018 · 5 comments
Closed

Properties can configure for Sharding and Master-slave independent #1004

terrymanu opened this issue Jul 12, 2018 · 5 comments

Comments

@terrymanu
Copy link
Member

Which version of Sharding-Sphere do you using?

3.0.0.M2

Expected behavior

Sharding properties should configure independent.

Actual behavior

Sharding properties configure with sharding rule, if use master-slave rule only, cannot load sharding properties.

@HanYL-coder
Copy link

why M2 not released yet.
I'm expecting it. Cuz there's a NullPointerException at JDBCShardingRefreshHandler.java:49 when querying a simple sql with 17 datasources(multi datasources).

@tristaZero
Copy link
Contributor

Thanks for your comment, and M2 is coming soon.
If you have a problem, please submit an issue.
@HanYL-coder

@tristaZero
Copy link
Contributor

To config props for MasterSlave rule, not just for Sharding rule, we need to do work as follows:

Add modules in Sharding core.
Support it in Sharding JDBC and Yaml.
Support it in Spring namespace.
Support it in Spring boots.
Support it in Sharding Proxy.
Support to store the props config in registry.

@HanYL-coder
Copy link

I saw the issue was fixed at M2.

@tristaZero

#919

@tristaZero tristaZero self-assigned this Jul 20, 2018
@terrymanu terrymanu changed the title Sharding properties should configure independent Properties can configure for Sharding and Master-slave independent Aug 8, 2018
@terrymanu
Copy link
Member Author

fixed at 3.0.0.M2

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

No branches or pull requests

3 participants