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

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

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 89e2e8a11030ba9ecc3a809f30dca72663b042b3
  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.

(cherry picked from commit b8e107517fd032f16f16df242a02474efc2312d2)

More information about the Devel mailing list