Skip to content

Clusteraddresses containing "/" will not be cleared from cache when events of removal are received #154

@steamr-76

Description

@steamr-76

Hi, we just detected this issue in our environment, and saw that the code does not behave correctly if the topics/addresses contains a "/". We were using the addresses in the form <appname>/<topic>

Rsult: When nodes goes away, the remaining nodes will still keep references to old nodes (due to failing in removing their addresses) and hence will fail to call them.

String[] pathElements = event.getData().getPath().split("/", 4);

A simple fix, is to avoid using "/" in the addresses.

let me know if you need more information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions