[OpenSIPS-Devel] [OpenSIPS/opensips] 385519: clusterer: fix possbile locking issues with capabi...
Vlad Patrascu
vladp at opensips.org
Wed Apr 25 09:23:13 EDT 2018
Branch: refs/heads/2.4
Home: https://github.com/OpenSIPS/opensips
Commit: 38551956aed2d18ac254984dcca9aafaaba6284a
https://github.com/OpenSIPS/opensips/commit/38551956aed2d18ac254984dcca9aafaaba6284a
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-04-25 (Wed, 25 Apr 2018)
Changed paths:
M modules/clusterer/clusterer.c
M modules/clusterer/clusterer_mod.c
M modules/clusterer/node_info.c
M modules/clusterer/node_info.h
M modules/clusterer/sync.c
Log Message:
-----------
clusterer: fix possbile locking issues with capabilities list
(cherry picked from commit f1bd4493986d2a50e4265392b426d8945ec132fc)
Commit: 4493f38b4c87a73d892451a8d75a091990645523
https://github.com/OpenSIPS/opensips/commit/4493f38b4c87a73d892451a8d75a091990645523
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-04-25 (Wed, 25 Apr 2018)
Changed paths:
M modules/clusterer/clusterer.c
Log Message:
-----------
clusterer: fix learning capabilities when restarting a node
This issue occurs when a node that has all the links with its neighbors
established is restarted and boots up faster than the next ping from another
node in the cluster. That node does not detect the failed link and never sends
the capabilities information itself to the restarted node. The solution is to
require a reply to an initial capabilities update sent when a node establishes a
link.
(cherry picked from commit ca84d6c856aee5ba169237dbb56ce2fcf0fef431)
Commit: 285512e6f68ffb9a14a8a071d087ddc80ea9a93e
https://github.com/OpenSIPS/opensips/commit/285512e6f68ffb9a14a8a071d087ddc80ea9a93e
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-04-25 (Wed, 25 Apr 2018)
Changed paths:
M modules/clusterer/README
M modules/clusterer/api.h
M modules/clusterer/clusterer.c
M modules/clusterer/clusterer.h
M modules/clusterer/clusterer_mod.c
M modules/clusterer/doc/clusterer_admin.xml
Log Message:
-----------
clusterer: extend the "cluster_check_addr" function.
Add new parameter that allows selecting the address of the node
to compare against: the BIN listener or the provisioned SIP address.
(cherry picked from commit 1e7b8836df462afd5aa291b036c65f1f077eaaec)
Commit: 0098798940799f5878c22f815a059ef31168c89a
https://github.com/OpenSIPS/opensips/commit/0098798940799f5878c22f815a059ef31168c89a
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-04-25 (Wed, 25 Apr 2018)
Changed paths:
M modules/clusterer/clusterer.c
Log Message:
-----------
clusterer: throw error when receiving message from own node id
(cherry picked from commit 19ee6879b1b5b30c51f0544af56946b6babe073b)
Commit: 852da77963e75f02ac74e14140654e6e7b9824a7
https://github.com/OpenSIPS/opensips/commit/852da77963e75f02ac74e14140654e6e7b9824a7
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-04-25 (Wed, 25 Apr 2018)
Changed paths:
M modules/clusterer/node_info.c
Log Message:
-----------
clusterer: warn if there is no seed node defined in a cluster
(cherry picked from commit 5dd381a11022aa4d6608db7efbb6808edac499b3)
Commit: 6d39171067de9e5b1a433ab8dd313f5f7ab7f4d3
https://github.com/OpenSIPS/opensips/commit/6d39171067de9e5b1a433ab8dd313f5f7ab7f4d3
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-04-25 (Wed, 25 Apr 2018)
Changed paths:
M modules/clusterer/clusterer.c
Log Message:
-----------
clusterer: suppress DBG logs when sending pings and replies
(cherry picked from commit 5cf6b40dbb7e95371224d4dd98060ab3f6281590)
Commit: d32235199c0de499f09b32b2824e9d75cf9a0376
https://github.com/OpenSIPS/opensips/commit/d32235199c0de499f09b32b2824e9d75cf9a0376
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-04-25 (Wed, 25 Apr 2018)
Changed paths:
M modules/dialog/dlg_profile.c
M modules/dialog/dlg_profile.h
M modules/dialog/dlg_repl_profile.h
M modules/dialog/dlg_replication.c
Log Message:
-----------
dialog: fix profile counting when replicating both profiles and dialogs
A replicated dialog was also counted as local for a replicated profile
on each node in the dialog replication cluster affecting both the
returned profile size and the broadcasted counter.
The issue is fixed by using the sharing tags mechanism and only count
a dialog in a replicated profile if it is marked as active.
(cherry picked from commit 1010f2b307706fa3f374477b39755d95091a0d6a)
Commit: f12e8b95d2afcfbcc1bd5588fef510b3de56f334
https://github.com/OpenSIPS/opensips/commit/f12e8b95d2afcfbcc1bd5588fef510b3de56f334
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-04-25 (Wed, 25 Apr 2018)
Changed paths:
M modules/clusterer/node_info.c
M modules/clusterer/node_info.h
Log Message:
-----------
clusterer: increase the limit for the number of clusters and nodes
(cherry picked from commit 4b5943330f10854bd9fc0fd3014a6dc402a6a74d)
Compare: https://github.com/OpenSIPS/opensips/compare/4de8967fc620...f12e8b95d2af
More information about the Devel
mailing list