MCPcopy Create free account
hub / github.com/apache/kvrocks / GetClientID

Method GetClientID

src/server/server.cc:871–871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

869}
870
871uint64_t Server::GetClientID() { return client_id_.fetch_add(1, std::memory_order_relaxed); }
872
873void Server::recordInstantaneousMetrics() {
874 auto rocksdb_stats = storage->GetDB()->GetDBOptions().statistics;

Callers 1

AddConnectionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected