Fix build error.

This commit is contained in:
Xin Dong 2020-10-30 13:43:39 -07:00
parent eead86f006
commit f2a6a6101e
1 changed files with 2 additions and 1 deletions

View File

@ -149,7 +149,8 @@ struct LogRouterData {
specialCounter(cc, "WaitForVersionMaxMS", [this](){ double val = this->maxWaitForVersionTime; this->maxWaitForVersionTime = 0; return 1000*val; });
specialCounter(cc, "GetMoreMS", [this](){ double val = this->getMoreTime; this->getMoreTime = 0; return 1000*val; });
specialCounter(cc, "GetMoreMaxMS", [this](){ double val = this->maxGetMoreTime; this->maxGetMoreTime = 0; return 1000*val; });
specialCounter(cc, "PrimaryPeekLocation", [this]() { return this->primaryPeekLocation; }) logger =
specialCounter(cc, "PrimaryPeekLocation", [this]() { return this->primaryPeekLocation; });
logger =
traceCounters("LogRouterMetrics", dbgid, SERVER_KNOBS->WORKER_LOGGING_INTERVAL, &cc, "LogRouterMetrics");
}
};