| 219 | } |
| 220 | } |
| 221 | void 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 | } |
| 228 | void logShardEvent(StringRef name, |
| 229 | KeyRangeRef range, |
| 230 | ShardOp op, |
no test coverage detected