[OpenSIPS-Devel] [OpenSIPS/opensips] b8e107: clusterer: make sure a discovered node is not adde...

Vlad Pătrașcu noreply at github.com
Sat Jun 25 20:29:36 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b8e107517fd032f16f16df242a02474efc2312d2
      https://github.com/OpenSIPS/opensips/commit/b8e107517fd032f16f16df242a02474efc2312d2
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2022-06-25 (Sat, 25 Jun 2022)

  Changed paths:
    M modules/clusterer/node_info.c
    M modules/clusterer/topology.c

  Log Message:
  -----------
  clusterer: make sure a discovered node is not added multiple times

Do not insert a new node into the list multiple times when:
* receiving multiple CLUSTERER_NODE_DESCRIPTION BIN messages
* we receive a CLUSTERER_NODE_DESCRIPTION message and the node also
  appears in CLUSTERER_FULL_TOP_UPDATE messages.





More information about the Devel mailing list