[OpenSIPS-Devel] [OpenSIPS/opensips] 7d74f3: clusterer: Fix links going down during sync; Optim...

Liviu Chircu noreply at github.com
Tue Oct 29 11:22:05 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7d74f3dc6233cf0cd6ad517a2329b837e2bac8bb
      https://github.com/OpenSIPS/opensips/commit/7d74f3dc6233cf0cd6ad517a2329b837e2bac8bb
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2024-10-29 (Tue, 29 Oct 2024)

  Changed paths:
    M modules/clusterer/clusterer.c
    M modules/clusterer/topology.c

  Log Message:
  -----------
  clusterer: Fix links going down during sync; Optimize pinging

This patch makes it so *any* succesfully sent BIN packet is also
considered a Ping (for sender) and Pong (for receiver).  This helps
improve the stability of the inter-node links, which will no longer go
down during a lengthy sync operation (e.g. 50K+ registered phones, which
take a few seconds to sync, and which would also significantly delay any
Ping/Pong packets happening to be queued up on that same TCP stream).

Moreover, thanks to the "last ping" timestamp updates during regular
BIN replication mentioned above, the clusterer pinging timer will now
only generate Ping packets during idle times (no BIN traffic produced).



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list