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

Method badRead

fdbserver/workloads/MiniCycle.actor.cpp:157–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155 }
156
157 void badRead(const char* name, int r, Transaction& tr) {
158 TraceEvent(SevError, "MiniCycleBadRead")
159 .detail(name, r)
160 .detail("Key", printable(key(r)))
161 .detail("Version", tr.getReadVersion().get())
162 .detailf("From", "%016llx", debug_lastLoadBalanceResultEndpointToken);
163 }
164
165 ACTOR Future<Void> cycleClient(Database cx, MiniCycleWorkload* self, double delay) {
166 state double lastTime = now();

Callers 1

cycleClientMethod · 0.95

Calls 6

TraceEventClass · 0.85
detailMethod · 0.80
getMethod · 0.65
getReadVersionMethod · 0.65
printableFunction · 0.50
keyClass · 0.50

Tested by

no test coverage detected