if master is higher -> do stuff
*/
+ g_log<<Logger::Debug<<"Received NOTIFY for "<<p->qdomain<<" from "<<p->getRemote()<<endl;
+
if(!::arg().mustDo("slave") && s_forwardNotify.empty()) {
g_log<<Logger::Warning<<"Received NOTIFY for "<<p->qdomain<<" from "<<p->getRemote()<<" but slave support is disabled in the configuration"<<endl;
return RCode::Refused;
}
}
- if(::arg().mustDo("slave"))
+ if(::arg().mustDo("slave")) {
+ g_log<<Logger::Debug<<"Queueing slave check for "<<p->qdomain<<endl;
Communicator.addSlaveCheckRequest(di, p->d_remote);
+ }
return 0;
}