[OpenSIPS-Devel] [OpenSIPS/opensips] 69aaa1: clusterer: fix incorrect link state due to pinging...
Vlad Pătrașcu
noreply at github.com
Tue Jun 4 14:12:11 EDT 2019
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 69aaa1904de891ebd6a809442c868ac44376b8b6
https://github.com/OpenSIPS/opensips/commit/69aaa1904de891ebd6a809442c868ac44376b8b6
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.
More information about the Devel
mailing list