Show
Ignore:
Timestamp:
10/07/10 20:11:11 (3 years ago)
Author:
ahu
Message:

for the new master/slave communicator engine, make sure we don't trip over slave domains w/o master - thanks to Florent

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tags/pdns-2-9-22-x/pdns/slavecommunicator.cc

    r1672 r1725  
    172172    domains_by_name_t& nameindex=boost::multi_index::get<IDTag>(d_suckdomains); 
    173173 
    174     // remove unfresh domains already queued for AXFR, no sense polling them again 
     174     
    175175    BOOST_FOREACH(DomainInfo& di, rdomains) { 
    176176      SuckRequest sr; 
    177177      sr.domain=di.zone; 
     178      if(di.masters.empty()) // slave domains w/o masters are ignored 
     179        continue; 
     180      // remove unfresh domains already queued for AXFR, no sense polling them again 
    178181      sr.master=*di.masters.begin(); 
    179182      if(nameindex.count(sr))