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

Vlad Pătrașcu noreply at github.com
Thu Jul 14 10:05:05 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e0e9e2f943ca5bd35f653f6e55a89000e8b262e6
      https://github.com/OpenSIPS/opensips/commit/e0e9e2f943ca5bd35f653f6e55a89000e8b262e6
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2022-07-14 (Thu, 14 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).





More information about the Devel mailing list