More tweaks to TCP failover logic. Such edge case.

This commit is contained in:
Adam Ierymenko 2014-04-02 17:32:47 -04:00
parent 700a450806
commit 81e5690410
3 changed files with 31 additions and 22 deletions

View file

@ -543,6 +543,8 @@ Node::ReasonForTermination Node::run()
_r->timeOfLastResynchronize = Utils::now();
while (impl->reasonForTermination == NODE_RUNNING) {
//TRACE("--- BEGIN main I/O loop");
if (Utils::fileExists(shutdownIfUnreadablePath.c_str(),false)) {
FILE *tmpf = fopen(shutdownIfUnreadablePath.c_str(),"r");
if (!tmpf)