judakun commented on issue #6947:
URL: https://github.com/apache/shardingsphere/issues/6947#issuecomment-677394547


   @wcsoft ok
   
   - What's the issue?
   sharding-proxy can't load metadata automatic. Double sharding-proxy use one 
custom registry, and watch the same data. 
   I changed the rules of the registry, and both of them can listen in and get 
the data. I use one of sharding-proxys to execute DDL, but another 
sharding-proxy can't operate these tables, sametimes can't load these tables.  
when i restart it, it's ok.
   
![image](https://user-images.githubusercontent.com/59358145/90726802-e465dd00-e2f4-11ea-88d6-53be3feca2fd.png)
   
   - What's your expectation?
   What i want  sharding-proxy can synchronized automatically to another create 
tables and data.
   
   - What's the version of ShardingSphere?
   4.0.0
   
   - Provide the configuration about ShardingSphere if you have.
   My custom registry monitor the five interfaces
   1./orchestration_ds/config/schema
   2./orchestration_ds/config/props
   3./orchestration_ds/config/schema/%s/rule
      
`{'bindingTables':[],'broadcastTables':[],'defaultDataSourceName':'ds0','defaultDatabaseStrategy':{'none':{}},'defaultKeyGenerator':{'column':'id','props':{},'type':'SNOWFLAKE'},'defaultTableStrategy':{'none':{}},'encryptRule':{'encryptors':{},'tables':{}},'masterSlaveRules':{'ms_ds0':{'loadBalanceAlgorithmType':'ROUND_ROBIN','masterDataSourceName':'ds0','props':{},'slaveDataSourceNames':['ds0_slave']},'ms_ds1':{'loadBalanceAlgorithmType':'ROUND_ROBIN','masterDataSourceName':'ds1','props':{},'slaveDataSourceNames':['ds1_slave']}},'tables':{'t_order':{'actualDataNodes':'ms_ds${0..1}.t_order${0..1}','databaseStrategy':{'inline':{'algorithmExpression':'ms_ds${user_id
 % 
2}','shardingColumn':'user_id'}},'logicTable':'t_order','tableStrategy':{'inline':{'algorithmExpression':'t_order${order_id
 % 
2}','shardingColumn':'order_id'}}},'example_order':{'actualDataNodes':'ms_ds${0..1}.example_order${0..1}','databaseStrategy':{'inline':{'algorithmExpression':'ms_ds${user_id
 % 2}','shardingCo
 
lumn':'user_id'}},'logicTable':'example_order','tableStrategy':{'inline':{'algorithmExpression':'example_order${order_id
 % 2}','shardingColumn':'order_id'}}}}}`
   4./orchestration_ds/config/schema/%s/datasource
   5./orchestration_ds/config/authentication
     


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to