mirror of https://github.com/citusdata/citus.git
Don't spinloop when trying to cleanup a failed connection
parent
d63cbf3822
commit
5ce18327a7
|
@ -2939,8 +2939,9 @@ TrackerHashCleanupJob(HTAB *taskTrackerHash, Task *jobCleanupTask)
|
||||||
taskTracker);
|
taskTracker);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (timedOut)
|
else if (resultStatus == CLIENT_RESULT_UNAVAILABLE || timedOut)
|
||||||
{
|
{
|
||||||
|
/* CLIENT_RESULT_UNAVAILABLE is returned if the connection failed somehow */
|
||||||
ereport(WARNING, (errmsg("could not receive response for cleanup query "
|
ereport(WARNING, (errmsg("could not receive response for cleanup query "
|
||||||
"result for job " UINT64_FORMAT " on node "
|
"result for job " UINT64_FORMAT " on node "
|
||||||
"\"%s:%u\" with status %d",
|
"\"%s:%u\" with status %d",
|
||||||
|
|
Loading…
Reference in New Issue