[OpenSIPS-Devel] [OpenSIPS/opensips] 77c24e: clusterer: Always broadcast a packet after shtag a...
Liviu Chircu
noreply at github.com
Tue Sep 13 08:38:03 UTC 2022
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 77c24e2122ea6f66f251349e05984cfbdef9166c
https://github.com/OpenSIPS/opensips/commit/77c24e2122ea6f66f251349e05984cfbdef9166c
Author: Liviu Chircu <liviu at opensips.org>
Date: 2022-09-13 (Tue, 13 Sep 2022)
Changed paths:
M modules/clusterer/sharing_tags.c
Log Message:
-----------
clusterer: Always broadcast a packet after shtag activation
Due to network outages, it is currently possible for both sharing tags
of an Active/Backup pair to end up in ACTIVE state. This patch makes it
so a "cluster_shtag_set_active" MI command always broadcasts (forces)
the ACTIVE state onto all neighbours, thus fixing the incorrect,
post-outage state of the tags.
Credits to @bogdan-iancu and @rvlad-patrascu for their contributions to
this fix!
More information about the Devel
mailing list