Adding TraceEvent when a worker is removed from cluster controller.

This commit is contained in:
Neethu Haneesha Bingi 2021-04-28 17:46:45 -07:00
parent e9b07dc77c
commit 97cd53d649
1 changed files with 1 additions and 0 deletions

View File

@ -3095,6 +3095,7 @@ ACTOR Future<Void> workerAvailabilityWatch(WorkerInterface worker,
cluster->removedDBInfoEndpoints.insert(worker.updateServerDBInfo.getEndpoint());
cluster->id_worker.erase(worker.locality.processId());
cluster->updateWorkerList.set(worker.locality.processId(), Optional<ProcessData>());
TraceEvent("ClusterFailedWorker", cluster->id).detail("WorkerProcessId", worker.locality.processId());
return Void();
}
}