You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "zhaojinchao95 (via GitHub)" <gi...@apache.org> on 2023/12/28 02:36:16 UTC

[I] IMPORT DATABASE CONFIGURATION FROM FILE "xxxx" has metadata refresh delay problem [shardingsphere]

zhaojinchao95 opened a new issue, #29574:
URL: https://github.com/apache/shardingsphere/issues/29574

   Excute `IMPORT DATABASE CONFIGURATION FROM FILE "/opt/config_sharding_db.yaml"` to restore metadata. It's not show all storage units when i execute `SHOW STORAGE UNITS;`, i have to wait some times or restart Proxy to show all storage units.
   
   
   `config_sharding_db.yaml:`
   
   ```
   databaseName: test
   dataSources:
     ds_0:
       password: 123456
       url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
       username: root
       minPoolSize: 1
       maxPoolSize: 50
     ds_1:
       password: 123456
       url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
       username: root
       minPoolSize: 1
       maxPoolSize: 50
     ds_2:
       password: 123456
       url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
       username: root
       minPoolSize: 1
       maxPoolSize: 50
     ds_3:
       password: 123456
       url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
       username: root
       minPoolSize: 1
       maxPoolSize: 50
     ds_4:
       password: 123456
       url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
       username: root
       minPoolSize: 1
       maxPoolSize: 50
     ds_5:
       password: 123456
       url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
       username: root
       minPoolSize: 1
       maxPoolSize: 50
     ds_6:
       password: 123456
       url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
       username: root
       minPoolSize: 1
       maxPoolSize: 50
     ds_7:
       password: 123456
       url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
       username: root
       minPoolSize: 1
       maxPoolSize: 50
     ds_8:
       password: 123456
       url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
       username: root
       minPoolSize: 1
       maxPoolSize: 50
     ds_9:
       password: 123456
       url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
       username: root
       minPoolSize: 1
       maxPoolSize: 50
     ds_10:
       password: 123456
       url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
       username: root
       minPoolSize: 1
       maxPoolSize: 50
     ds_11:
       password: 123456
       url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
       username: root
       minPoolSize: 1
       maxPoolSize: 50
     ds_12:
       password: 123456
       url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
       username: root
       minPoolSize: 1
       maxPoolSize: 50
     ds_13:
       password: 123456
       url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
       username: root
       minPoolSize: 1
       maxPoolSize: 50
     ds_14:
       password: 123456
       url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
       username: root
       minPoolSize: 1
       maxPoolSize: 50
     ds_15:
       password: 123456
       url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
       username: root
       minPoolSize: 1
       maxPoolSize: 50
     ds_16:
       password: 123456
       url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
       username: root
       minPoolSize: 1
       maxPoolSize: 50
     ds_17:
       password: 123456
       url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
       username: root
       minPoolSize: 1
       maxPoolSize: 50
     ds_18:
       password: 123456
       url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
       username: root
       minPoolSize: 1
       maxPoolSize: 50
     ds_19:
       password: 123456
       url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
       username: root
       minPoolSize: 1
       maxPoolSize: 50
     ds_20:
       password: 123456
       url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
       username: root
       minPoolSize: 1
       maxPoolSize: 50
     ds_21:
       password: 123456
       url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
       username: root
       minPoolSize: 1
       maxPoolSize: 50
   ```


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

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


Re: [I] IMPORT DATABASE CONFIGURATION FROM FILE "xxxx" has metadata refresh delay problem [shardingsphere]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #29574:
URL: https://github.com/apache/shardingsphere/issues/29574#issuecomment-1913321229

   There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.


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


Re: [I] IMPORT DATABASE CONFIGURATION FROM FILE "xxxx" has metadata refresh delay problem [shardingsphere]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #29574:
URL: https://github.com/apache/shardingsphere/issues/29574#issuecomment-2118991102

   There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.


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


Re: [I] IMPORT DATABASE CONFIGURATION FROM FILE "xxxx" has metadata refresh delay problem [shardingsphere]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #29574:
URL: https://github.com/apache/shardingsphere/issues/29574#issuecomment-2241759398

   There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.


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


Re: [I] IMPORT DATABASE CONFIGURATION FROM FILE "xxxx" has metadata refresh delay problem [shardingsphere]

Posted by "zhaojinchao95 (via GitHub)" <gi...@apache.org>.
zhaojinchao95 closed issue #29574: IMPORT DATABASE CONFIGURATION FROM FILE "xxxx" has metadata refresh delay problem
URL: https://github.com/apache/shardingsphere/issues/29574


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


Re: [I] IMPORT DATABASE CONFIGURATION FROM FILE "xxxx" has metadata refresh delay problem [shardingsphere]

Posted by "zhaojinchao95 (via GitHub)" <gi...@apache.org>.
zhaojinchao95 commented on issue #29574:
URL: https://github.com/apache/shardingsphere/issues/29574#issuecomment-2243164054

   I can use `REFRESH TABLE METADATA` to sloved it.


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