]> granicus.if.org Git - pdns/commit
Delete a zone from the list of failed slave-checks on incoming NOTIFY and fix d_lock...
authorKlaus Darilion <klaus.darilion@nic.at>
Thu, 16 Aug 2018 14:50:05 +0000 (14:50 +0000)
committerPieter Lexis <pieter.lexis@powerdns.com>
Tue, 21 Aug 2018 11:55:13 +0000 (13:55 +0200)
commitf60cca71c6393a3d64ea910c83704c8077b8fb0b
tree3f83f590a64b78a3805e8b539a629d2f1922562d
parentcdb7a707b9de7f20f6f2f7e45e586c4a74e56a15
Delete a zone from the list of failed slave-checks on incoming NOTIFY and fix d_lock handling

- If the master is not available, PDNS uses an incrmental backoff for SOA-checks to avoid
constant SOA checks on the failed master server. If the master server comes back to life
and sends a NOTIFY, the NOTIFY is ignored due to the backoff. This patch removes the zone
from the list of failed slave-checks to allow immediate checking.

- Debug-Log if a slave-check was skipped due to incremental backoff feature

- Fix d_lock handling according to comments on https://github.com/PowerDNS/pdns/pull/6819

- Be more verbose about the consequences of a failed SOA check

(cherry picked from commit f1a7ff7ab183fd6e92b21cff30ecddef22b666d2)
pdns/slavecommunicator.cc