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

Zebra管理平台 -> zookeeper配置导致《Write dataSource is currently in the maintaining stage》 #33

Open
larrychen8276 opened this issue Jul 3, 2019 · 0 comments
Assignees

Comments

@larrychen8276
Copy link

Zebra管理平台 ->读写分离命名,JdbcRef 如果配置了下划线会导致无法区分主从,如命名 :zebra_demo,会报
java.sql.SQLException: Write dataSource is currently in the maintaining stage. at com.dianping.zebra.util.JDBCUtils.throwWrappedSQLException(JDBCUtils.java:62) at com.dianping.zebra.group.jdbc.GroupPreparedStatement.executeUpdate(GroupPreparedStatement.java:220) at com.dianping.zebra.sample.jdbc.GroupDataSourceSample.insertValue(GroupDataSourceSample.java:72) at com.dianping.zebra.sample.jdbc.GroupDataSourceSample.groupTest(GroupDataSourceSample.java:14) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

如果命名为 :zebra-demo就会没事。

@8wy1985659 8wy1985659 self-assigned this Jul 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants