[OpenSIPS-Devel] [OpenSIPS/opensips] 8df72f: clusterer: Always broadcast a packet after shtag a...

Liviu Chircu noreply at github.com
Tue Sep 13 08:38:50 UTC 2022


  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8df72f92f68f0773e059271c0870fe59560fcc9a
      https://github.com/OpenSIPS/opensips/commit/8df72f92f68f0773e059271c0870fe59560fcc9a
  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!

(cherry picked from commit 77c24e2122ea6f66f251349e05984cfbdef9166c)





More information about the Devel mailing list