| 508 | } |
| 509 | |
| 510 | void 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 | |
| 527 | void WriteMap::clearNoConflict(KeyRangeRef keys) { |
| 528 | auto& it = scratch_iterator; |
no test coverage detected