[OpenSIPS-Devel] [OpenSIPS/opensips] 3f5444: clusterer: fix incorrect link state due to pinging...
Vlad Pătrașcu
noreply at github.com
Tue Jun 4 14:13:44 EDT 2019
Branch: refs/heads/2.4
Home: https://github.com/OpenSIPS/opensips
Commit: 3f5444bef0820e6f1f5534aaf370ffcb95654527
https://github.com/OpenSIPS/opensips/commit/3f5444bef0820e6f1f5534aaf370ffcb95654527
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2019-06-04 (Tue, 04 Jun 2019)
Changed paths:
M modules/clusterer/clusterer.c
M modules/clusterer/node_info.h
Log Message:
-----------
clusterer: fix incorrect link state due to pinging race conditions
This fix addresses possible races between setting the appropriate link state
after sending a ping and receiving the reply. If the reply is received before
the pinging process manages to change the link state, we might get stuck in
a 'probing' state for the respective node.
(cherry picked from commit 69aaa1904de891ebd6a809442c868ac44376b8b6)
More information about the Devel
mailing list