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

Method dump

fdbclient/WriteMap.cpp:510–525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508}
509
510void WriteMap::dump() {
511 iterator it(this);
512 it.skip(allKeys.begin);
513 while (it.beginKey() < allKeys.end) {
514 TraceEvent("WriteMapDump")
515 .detail("Begin", it.beginKey().toStandaloneStringRef())
516 .detail("End", it.endKey())
517 .detail("Cleared", it.is_cleared_range())
518 .detail("Conflicted", it.is_conflict_range())
519 .detail("Operation", it.is_operation())
520 .detail("Unmodified", it.is_unmodified_range())
521 .detail("Independent", it.is_operation() && it.is_independent())
522 .detail("StackSize", it.is_operation() ? it.op().size() : 0);
523 ++it;
524 }
525}
526
527void WriteMap::clearNoConflict(KeyRangeRef keys) {
528 auto& it = scratch_iterator;

Callers 4

actionMethod · 0.45
actionMethod · 0.45
whenFunction · 0.45
checkMethod · 0.45

Calls 12

TraceEventClass · 0.85
detailMethod · 0.80
toStandaloneStringRefMethod · 0.80
is_cleared_rangeMethod · 0.80
is_conflict_rangeMethod · 0.80
is_operationMethod · 0.80
is_unmodified_rangeMethod · 0.80
is_independentMethod · 0.80
skipMethod · 0.45
beginKeyMethod · 0.45
endKeyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected