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

Bogdan Andrei IANCU noreply at github.com
Mon Sep 23 14:20:29 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 784e1a4cc52be74c0a2e9706e74794c4ea5940cf
      https://github.com/OpenSIPS/opensips/commit/784e1a4cc52be74c0a2e9706e74794c4ea5940cf
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2024-09-23 (Mon, 23 Sep 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



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



More information about the Devel mailing list