MCPcopy Create free account
hub / github.com/apple/foundationdb / logShardEvent

Function logShardEvent

fdbserver/KeyValueStoreShardedRocksDB.actor.cpp:221–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219 }
220}
221void logShardEvent(StringRef name, ShardOp op, Severity severity = SevInfo, const std::string& message = "") {
222 TraceEvent e(severity, "ShardedRocksDBKVSShardEvent");
223 e.detail("Name", name).detail("Action", ShardOpToString(op));
224 if (!message.empty()) {
225 e.detail("Message", message);
226 }
227}
228void logShardEvent(StringRef name,
229 KeyRangeRef range,
230 ShardOp op,

Callers 2

~PhysicalShardMethod · 0.85
removeRangeMethod · 0.85

Calls 3

ShardOpToStringFunction · 0.85
detailMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected