You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/07/25 06:00:59 UTC

[GitHub] [shardingsphere] clytzelbj commented on issue #19461: ShardingSphere proxy config center not work. Some nodes not have config center configurations info like datasource, rule configurations

clytzelbj commented on issue #19461:
URL: https://github.com/apache/shardingsphere/issues/19461#issuecomment-1193615456

   > This is a weird issue that I haven't reproduced, hopefully a volunteer can look into this.
   
   We have already found out the reason for this issue.
   You can reproduce this issue if you start a proxy cluster from scratch and set the serverConfig.mode.overwrite to false.
   
   Details:
   In org.apache.shardingsphere.mode.manager.cluster.coordinator.registry.metadata.watcher.MetaDataChangedWatcher where shardingsphere proxy watches the configs from zookeeper and handle them, we found that the data in metadata/{databaseName}/version is only synchronized when updating. But on the first time we create a table, the event type is ADDED.
   ![image](https://user-images.githubusercontent.com/10139124/180707653-d29b1e02-90f8-4c79-853b-7aaf2eea6d1e.png)
   After I found the reason above, I realized this issue is already fixed in master branch. 
   ![image](https://user-images.githubusercontent.com/10139124/180707675-5c6d9c4a-7f82-4fef-b604-f240374db0cb.png)
   Since 5.1.2 is a release version, maybe it's necessary to fix this issue on the release branch.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org