Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ceph/ceph
/ exists
Method
exists
src/mgr/DaemonState.cc:314–319 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
312
}
313
314
bool DaemonStateIndex::exists(const DaemonKey &key) const
315
{
316
std::shared_lock l{lock};
317
318
return all.count(key) > 0;
319
}
320
321
DaemonStatePtr DaemonStateIndex::get(const DaemonKey &key)
322
{
Callers
12
handle_open
Method · 0.45
handle_update
Method · 0.45
handle_close
Method · 0.45
_handle_command
Method · 0.45
_prune_pending_service_map
Method · 0.45
got_service_map
Method · 0.45
got_mgr_map
Method · 0.45
ceph_cache_map_erase
Method · 0.45
finish
Method · 0.45
handle_osd_map
Method · 0.45
handle_fs_map
Method · 0.45
handle_command_reply
Method · 0.45
Calls
1
count
Method · 0.45
Tested by
no test coverage detected