Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
871
uint64_t Server::GetClientID() { return client_id_.fetch_add(1, std::memory_order_relaxed); }
872
873
void Server::recordInstantaneousMetrics() {
874
auto rocksdb_stats = storage->GetDB()->GetDBOptions().statistics;
Callers
1
AddConnection
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected