Skip to content

Recovery problem after zk reconnect #5930

@horizonzy

Description

@horizonzy

Three configuration scenarios:
Scenario 1: Configured in /dubbo/xxx.xxx.XxxService/configurators in the ZK directory
Scenario 2: Configured and configured in /dubbo/config/dubbo/application-name.configurators in the ZK directory
Scenario 3: Configured in /dubbo/config/dubbo/org.apache.dubbo.demo.XxxService::.configurators in the ZK directory

When the service is started, if ZK is disconnected halfway, org.apache.dubbo.registry.integration.RegistryProtocol.OverrideListener # doOverrideIfNecessary will cause reExport, remove the old registered URL in reExport, delete ZK Nodes, but unable to communicate with ZK, will cause this notification to fail, and re-notification will not be able to sense the url change, so it will not be reExported. After subsequent reconnection to ZK, the service will be lost if the recover operation is re-registered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions