Suppress AllLocalAlternativesFailed events

This commit is contained in:
Jingyu Zhou 2022-08-26 13:55:16 -07:00
parent 46b02cab49
commit 29e2b705c4
1 changed files with 1 additions and 0 deletions

View File

@ -488,6 +488,7 @@ Future<REPLY_TYPE(Request)> loadBalance(
break;
} else if (badServers == alternatives->countBest() && i == badServers) {
TraceEvent("AllLocalAlternativesFailed")
.suppressFor(1.0)
.detail("Alternatives", alternatives->description())
.detail("Total", alternatives->size())
.detail("Best", alternatives->countBest());