New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CommunicatorClass::slaveRefresh should verify if Zone is still configured in backend #596
Comments
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2802 d19b8d6e-7fed-0310-83ef-9ca221ded41b
Attachment 'Fix' (slavecommunicator.patch) https://gist.github.com/5466801 |
Author: peter |
Author: anon
B->getDomainInfo(di.zone, di) gets called in both versions anyway, the only thing we do is verifying it's return code. In the race we even reduce the overhead when getDomainInfo returns false. |
Author: peter |
Author: peter |
…rDNS#596 git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2802 d19b8d6e-7fed-0310-83ef-9ca221ded41b
/var/log/messages:Oct 8 11:05:27 ns1 pdns[5740]: Initiating transfer of 'foo.bar' from remote '1.2.3.4'
/var/log/messages:Oct 8 11:05:27 ns1 pdns[5740]: Can't determine backend for domain 'foo.bar'
We suspect a race condition where CommunicatorClass::slaveRefresh
does not check if the (database)backend if the domain is still there or
has already been deleted.
The return value of B->getDomainInfo(di.zone, di); has to be verified.
The text was updated successfully, but these errors were encountered: