[OpenSIPS-Devel] [OpenSIPS/opensips] 205667: clusterer: use the proper locking type when we mig...
Vlad Pătrașcu
noreply at github.com
Wed Jun 22 07:57:10 UTC 2022
Branch: refs/heads/3.2
Home: https://github.com/OpenSIPS/opensips
Commit: 205667d85c26646f7f86024b6d1865e9057c011b
https://github.com/OpenSIPS/opensips/commit/205667d85c26646f7f86024b6d1865e9057c011b
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2022-06-22 (Wed, 22 Jun 2022)
Changed paths:
M modules/clusterer/clusterer.c
Log Message:
-----------
clusterer: use the proper locking type when we might switch for writing
Aquire lock for switchable reading when handling a full topology update,
wich might trigger the insert of a new node in the list and thus using
the lock switch mechanism.
(cherry picked from commit ead6f1fcae3881a15b6ec4e8e6026bdd5d99ecb3)
More information about the Devel
mailing list