Habbie/powerdns — pull request #28 by cyclops1982 (2012-04-02 05:54:53+00:00)
Title: Axfr lock

Hi Peter,

This fixes a bug where a domain is detected as stale (doesn't happen very often) and the axfr for that domain is still running (the CommunicatorClass::suck()).

The main fix is removing the domain from the suckdomains queue after the AXFR is done. All the other stuff is just changes I made when debugging/learning.

Reproduce this bug by making a domain stale and adding a sleep(x) to suck() before the db/backend commit.
Where x is greater then slave-cycle-refresh.