]> git.proxmox.com Git - mirror_corosync-qdevice.git/commit
qnetd: Fix dpd timer
authorJan Friesse <jfriesse@redhat.com>
Tue, 15 Sep 2020 13:10:53 +0000 (15:10 +0200)
committerJan Friesse <jfriesse@redhat.com>
Mon, 21 Sep 2020 14:35:32 +0000 (16:35 +0200)
commit11a861c93fe4b0594afb60a3993d5ba9f443fba5
treef9516b52c14e43ef9443142aeb63a213b814eec9
parent3db05bedf6df23b8398de99633ac8489aa9d7b1b
qnetd: Fix dpd timer

With default config of running dpd timer every 10 second and waiting for
2 * client_timeout to clear message received flag and then waiting
another 2 * client_timeout without message received it was possible that
client was marked as a dead after more than 40 seconds making qdevice to
stop sending votequorum hearbeat for too long so corosync lost votes
from qdevice.

This patch is simpler solution which just changes default dpd timer to
1 second and timeout to 1.2 * client_timeout.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
man/corosync-qnetd.8
qdevices/qnet-config.h
qdevices/qnetd-dpd-timer.c