[OpenSIPS-Devel] [OpenSIPS/opensips] 6537c6: [clusterer] Fix error handling when failing to loa...

Bogdan Andrei IANCU noreply at github.com
Wed Oct 23 14:42:03 UTC 2024


  Branch: refs/heads/3.5
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6537c63c1e8c5c572b5a10c812eca94c75ae0230
      https://github.com/OpenSIPS/opensips/commit/6537c63c1e8c5c572b5a10c812eca94c75ae0230
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2024-10-23 (Wed, 23 Oct 2024)

  Changed paths:
    M modules/clusterer/clusterer_mod.c
    M modules/clusterer/node_info.c

  Log Message:
  -----------
  [clusterer] Fix error handling when failing to load nodes

On failing to add a node (to the cluster), continue, as time as that node is not the current node.
And if giving up on whole cluster info loading, be sure we clean up and properly report this to the above layer - the last thing we should do is to report success (on load) but have partial, unconsistent data.

Fixes #3473

(cherry picked from commit 784e1a4cc52be74c0a2e9706e74794c4ea5940cf)



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



More information about the Devel mailing list