]> git.ipfire.org Git - thirdparty/kea.git/commit
[#1403] Servers exchange ha-sync-complete-notify
authorMarcin Siodelski <marcin@isc.org>
Tue, 3 Aug 2021 10:17:39 +0000 (12:17 +0200)
committerMarcin Siodelski <marcin@isc.org>
Tue, 21 Sep 2021 09:25:19 +0000 (11:25 +0200)
commit64107f413841c8f94c165b385d69a0d3dad2604b
tree9fd67eec6f86b7ad09e8ee55c2f08f04a16fd26b
parent8045b5157aa685df8978a42f2a7635f926dc4cd3
[#1403] Servers exchange ha-sync-complete-notify

A server finishing the lease database synchronization sends the
ha-sync-complete-notify command to the partner. If the partner is in the
partner-down state it stops allocating leases and sends a heartbeat to
see if the partner is available. If the partner is unavailable, it resumes
DHCP service. Otherwise, it transitions to the normal operation state.
src/hooks/dhcp/high_availability/ha_callouts.cc
src/hooks/dhcp/high_availability/ha_impl.cc
src/hooks/dhcp/high_availability/ha_impl.h
src/hooks/dhcp/high_availability/ha_messages.mes
src/hooks/dhcp/high_availability/ha_service.cc
src/hooks/dhcp/high_availability/ha_service.h
src/hooks/dhcp/high_availability/tests/ha_service_unittest.cc