dotse/dnscheck — Issue #58: dnscheck-zonediff in apps needs more intelligence
Author: einar
Created: 2012-01-05 09:47:40+00:00
State: open

Ran into a, eh, race condition where so many new domains where added to queue that the dispatcher couldnt really catchup. This resulted in the same domain being added more than once and thus tested several times without a good reason, we should fix this! :)

Since we check source before we add the domain to queue we should be able to, instead of just adding the domain with correct source, see if the domain already exists with that source and instead just update the "reason for being added" with more data.

So if a domain gets created, gets added as "NEW" to queue as reason for testing and later gets for example a DS added we should be able to just update the doman with DS so "NEW DS" is the reason etc instead of running the test twice. Not sure if we need extra logic for checking "IN PROGRESS", but perhaps... ;)