fix invalid trace detail name
This commit is contained in:
parent
8773cb1a42
commit
f8a21f4f6c
|
@ -2820,7 +2820,7 @@ public:
|
|||
for (auto& [workerAddress, health] : workerHealth) {
|
||||
for (auto it = health.degradedPeers.begin(); it != health.degradedPeers.end();) {
|
||||
if (currentTime - it->second.lastRefreshTime > SERVER_KNOBS->CC_DEGRADED_LINK_EXPIRATION_INTERVAL) {
|
||||
TraceEvent("WorkerPeerHealthRecovered").detail("Worker", workerAddress).detail("peer", it->first);
|
||||
TraceEvent("WorkerPeerHealthRecovered").detail("Worker", workerAddress).detail("Peer", it->first);
|
||||
health.degradedPeers.erase(it++);
|
||||
} else {
|
||||
++it;
|
||||
|
@ -2830,7 +2830,7 @@ public:
|
|||
|
||||
for (auto it = workerHealth.begin(); it != workerHealth.end();) {
|
||||
if (it->second.degradedPeers.empty()) {
|
||||
TraceEvent("WorkerAllPeerHealthRecovered").detail("worker", it->first);
|
||||
TraceEvent("WorkerAllPeerHealthRecovered").detail("Worker", it->first);
|
||||
workerHealth.erase(it++);
|
||||
} else {
|
||||
++it;
|
||||
|
|
Loading…
Reference in New Issue