chickenlj opened a new issue #1359:
URL: https://github.com/apache/dubbo-go/issues/1359


   Server routine stuck at metadata reporting when zookeeper is not started as 
expected.
   
   How to reproduce:
   
   1. samples 
https://github.com/apache/dubbo-go-samples/tree/3.0/registry/servicediscovery/zookeeper/go-server
   2. start server while keeping zookeeper down
   3. dump goroutine, you will find the following stack
   
   ```golang
   
dubbo.apache.org/dubbo-go/v3/metadata/mapping/dynamic.(*DynamicConfigurationServiceNameMapping).Map(service_name_mapping.go:67)
   
dubbo.apache.org/dubbo-go/v3/registry/servicediscovery.(*serviceDiscoveryRegistry).Register(service_discovery_registry.go:190)
   
dubbo.apache.org/dubbo-go/v3/registry/protocol.(*registryProtocol).Export(protocol.go:198)
   
dubbo.apache.org/dubbo-go/v3/config.(*ServiceConfig).Export(service_config.go:220)
   dubbo.apache.org/dubbo-go/v3/config.loadProviderConfig(config_loader.go:282)
   
dubbo.apache.org/dubbo-go/v3/config.providerInitOption.func2(config_loader_options.go:105)
   
dubbo.apache.org/dubbo-go/v3/config.(*optionFunc).apply(config_loader_options.go:43)
   dubbo.apache.org/dubbo-go/v3/config.LoadWithOptions(config_loader.go:399)
   dubbo.apache.org/dubbo-go/v3/config.Load(config_loader.go:386)
   main.main(server.go:59)
   ```


-- 
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: [email protected]

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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to