[OpenSIPS-Devel] [OpenSIPS/opensips] 50846c: clusterer: make sure a discovered node is not adde...
Vlad Pătrașcu
noreply at github.com
Sat Jun 25 20:32:23 UTC 2022
Branch: refs/heads/3.1
Home: https://github.com/OpenSIPS/opensips
Commit: 50846c3cdc8b57a6003767de030b468b17fe40a1
https://github.com/OpenSIPS/opensips/commit/50846c3cdc8b57a6003767de030b468b17fe40a1
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2022-06-25 (Sat, 25 Jun 2022)
Changed paths:
M modules/clusterer/clusterer.c
M modules/clusterer/node_info.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