Skip to content

Commit 966dc81

Browse files
authored
[coll] Keep the tracker alive during initialization error. (dmlc#10306)
1 parent d5fcbee commit 966dc81

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/collective/tracker.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,8 @@ Result RabitTracker::Bootstrap(std::vector<WorkerProxy>* p_workers) {
286286

287287
auto worker = WorkerProxy{n_workers_, std::move(sock), std::move(addr)};
288288
if (!worker.Status().OK()) {
289-
return Fail("Failed to initialize worker proxy.", std::move(worker.Status()));
289+
LOG(WARNING) << "Failed to initialize worker proxy." << worker.Status().Report();
290+
continue;
290291
}
291292
switch (worker.Command()) {
292293
case proto::CMD::kStart: {

0 commit comments

Comments
 (0)