You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.GetLogger().Log(logger.Debug, "worker (id=", workerclient.ID, "pid=", workerclient.pid, ") received signal. transits from state ", workerclient.Status, " to terminated.")
328
+
}
329
+
workerclient.setState(wsUnset) // Set the state to UNSET to make sure worker does not stay in FNSH state so long
330
+
pool.RestartWorker(workerclient)
304
331
}
305
332
} else {
306
-
//
307
-
// a worker could be terminated while serving a request.
308
-
// in these cases, doRead() in workerclient will get an
309
-
// EOF and exit. doSession() in coordinator will get the
310
-
// worker outCh closed event and exit, at which point
311
-
// coordinator itself calls returnworker to set connstate
logger.GetLogger().Log(logger.Debug, "worker (pid=", workerclient.pid, ") received signal. transits from state ", workerclient.Status, " to terminated.")
333
+
iflogger.GetLogger().V(logger.Alert) {
334
+
logger.GetLogger().Log(logger.Alert, "Exited worker pid =", pid, " not found")
320
335
}
321
-
workerclient.setState(wsUnset) // Set the state to UNSET to make sure worker does not stay in FNSH state so long
322
-
pool.RestartWorker(workerclient)
323
-
}
324
-
} else {
325
-
iflogger.GetLogger().V(logger.Alert) {
326
-
logger.GetLogger().Log(logger.Alert, "Exited worker pid =", defunctPids[i], " not found")
0 commit comments