mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
This commit is contained in:
parent
8c13863fb8
commit
a32d4f9767
@ -226,6 +226,10 @@ public abstract class AbstractSpringCloudRegistry extends FailbackRegistry {
|
|||||||
// fix https://github.com/alibaba/spring-cloud-alibaba/issues/753
|
// fix https://github.com/alibaba/spring-cloud-alibaba/issues/753
|
||||||
// Re-obtain the latest list of available metadata address here, ip or port may change.
|
// Re-obtain the latest list of available metadata address here, ip or port may change.
|
||||||
// by https://github.com/wangzihaogithub
|
// by https://github.com/wangzihaogithub
|
||||||
|
dubboMetadataConfigServiceProxy.removeProxy(serviceName);
|
||||||
|
repository.removeMetadataAndInitializedService(serviceName);
|
||||||
|
dubboGenericServiceFactory.destroy(serviceName);
|
||||||
|
repository.initializeMetadata(serviceName);
|
||||||
if (CollectionUtils.isEmpty(serviceInstances)) {
|
if (CollectionUtils.isEmpty(serviceInstances)) {
|
||||||
if (logger.isWarnEnabled()) {
|
if (logger.isWarnEnabled()) {
|
||||||
logger.warn(
|
logger.warn(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user