[coll] Keep the tracker alive during initialization error. (#10306)
This commit is contained in:
parent
d5fcbee44b
commit
966dc81788
@ -286,7 +286,8 @@ Result RabitTracker::Bootstrap(std::vector<WorkerProxy>* p_workers) {
|
|||||||
|
|
||||||
auto worker = WorkerProxy{n_workers_, std::move(sock), std::move(addr)};
|
auto worker = WorkerProxy{n_workers_, std::move(sock), std::move(addr)};
|
||||||
if (!worker.Status().OK()) {
|
if (!worker.Status().OK()) {
|
||||||
return Fail("Failed to initialize worker proxy.", std::move(worker.Status()));
|
LOG(WARNING) << "Failed to initialize worker proxy." << worker.Status().Report();
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
switch (worker.Command()) {
|
switch (worker.Command()) {
|
||||||
case proto::CMD::kStart: {
|
case proto::CMD::kStart: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user