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

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


  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 07a6b2e3e83d992d76ff611bfa485768ed209389
      https://github.com/OpenSIPS/opensips/commit/07a6b2e3e83d992d76ff611bfa485768ed209389
  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