MCPcopy Create free account
hub / github.com/Tencent/phxsql / MarkFailure

Method MarkFailure

phxsqlproxy/group_status_cache.cpp:202–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202void GroupStatusCache::MarkFailure(const std::string & ip) {
203 RWLockManager lock(&membership_mutex_, RWLockManager::WRITE);
204 last_failure_[ip] = GetTimestampMS();
205}
206
207}

Callers

nothing calls this directly

Calls 1

GetTimestampMSFunction · 0.85

Tested by

no test coverage detected