mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-02 11:15:50 +08:00
Merge pull request #4730 from neethuhaneesha/master
Adding TraceEvent when a worker is removed from cluster controller.
This commit is contained in:
commit
5ca3b671d1
@ -3092,6 +3092,10 @@ ACTOR Future<Void> workerAvailabilityWatch(WorkerInterface worker,
|
||||
if (worker.locality.processId() == cluster->masterProcessId) {
|
||||
cluster->masterProcessId = Optional<Key>();
|
||||
}
|
||||
TraceEvent("ClusterControllerWorkerFailed", cluster->id)
|
||||
.detail("ProcessId", worker.locality.processId())
|
||||
.detail("ProcessClass", failedWorkerInfo.details.processClass.toString())
|
||||
.detail("Address", worker.address());
|
||||
cluster->removedDBInfoEndpoints.insert(worker.updateServerDBInfo.getEndpoint());
|
||||
cluster->id_worker.erase(worker.locality.processId());
|
||||
cluster->updateWorkerList.set(worker.locality.processId(), Optional<ProcessData>());
|
||||
|
Loading…
x
Reference in New Issue
Block a user