[Freeipa-devel] [PATCH] 0015 Don't try to remove auxiliary nodes from internal RBT

Petr Spacek pspacek at redhat.com
Tue Apr 3 13:06:31 UTC 2012


Hello,

this patch optimizes code for removing deleted zones from BIND instance 
little bit.

In some cases there are auxiliary zones (= not really served zones) in 
internal Red-Black tree. Current code tries to remove these auxiliary 
zones on each zone_refresh attempt.

Everything works fine, because auxiliary zones are detected deeper in 
zone deletion code.
Now plugin prints very confusing message "Zone '%s' has been removed 
from database." each 'zone_refresh' seconds, again and again. This patch 
prevents this.

I think it's very very confusing. I spent a lot of time while debugging 
before I realized where is the problem.

Petr^2 Spacek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0015-Don-t-try-to-remove-auxilitary-nodes.patch
Type: text/x-patch
Size: 1206 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120403/e5d862dd/attachment.bin>


More information about the Freeipa-devel mailing list