[OpenSIPS-Devel] [OpenSIPS/opensips] 731c8d: clusterer: fix possible deadlocks when discovering...

Vlad Pătrașcu noreply at github.com
Fri Jul 15 17:48:20 UTC 2022


  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 731c8ddcaf65f5b8468e692d6ec7709be2f33f41
      https://github.com/OpenSIPS/opensips/commit/731c8ddcaf65f5b8468e692d6ec7709be2f33f41
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2022-07-15 (Fri, 15 Jul 2022)

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

  Log Message:
  -----------
  clusterer: fix possible deadlocks when discovering a new node

Use only standard RW locking operations for the global list lock instead of
the "switchable" mechanism (aquiring the lock for writing when necessary).

(cherry picked from commit e0e9e2f943ca5bd35f653f6e55a89000e8b262e6)





More information about the Devel mailing list