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 2021/12/24 05:34:12 UTC

[GitHub] [shardingsphere] roodkcab opened a new issue #14290: etcd in bound message size out of limit when starting shardingsphere

roodkcab opened a new issue #14290:
URL: https://github.com/apache/shardingsphere/issues/14290


   ## Bug Report
   
   ### Which version of ShardingSphere did you use?
   master 
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   proxy
   
   ### Expected behavior
   cluster mode with etcd should start without problem
   
   ### Actual behavior
   fail to start with exception
   ```
   Exception in thread "main" java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: io.grpc.StatusRuntimeException: RESOURCE_EXHAUSTED: gRPC message exceeds maximum size 4194304: 5358489
           at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
           at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908)
           at org.apache.shardingsphere.mode.repository.cluster.etcd.EtcdRepository.getChildrenKeys(EtcdRepository.java:85)
           at org.apache.shardingsphere.mode.metadata.persist.service.SchemaMetaDataPersistService.loadAllNames(SchemaMetaDataPersistService.java:86)
           at org.apache.shardingsphere.mode.manager.cluster.ClusterContextManagerBuilder.beforeBuildContextManager(ClusterContextManagerBuilder.java:96)
           at org.apache.shardingsphere.mode.manager.cluster.ClusterContextManagerBuilder.build(ClusterContextManagerBuilder.java:82)
           at org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.initContext(BootstrapInitializer.java:77)
           at org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.init(BootstrapInitializer.java:68)
           at org.apache.shardingsphere.proxy.Bootstrap.main(Bootstrap.java:47)
   ```
   
   ### Reason analyze (If you can)
   there are about 1300 tables in a single database, when get all of metadata from etcd, the in bound message size out of limit.
   


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



[GitHub] [shardingsphere] terrymanu closed issue #14290: etcd in bound message size out of limit when starting shardingsphere

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #14290:
URL: https://github.com/apache/shardingsphere/issues/14290


   


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