Add naive insertion, fix visualization

This commit is contained in:
2024-01-17 16:23:20 -08:00
parent d515332906
commit 9f9c248e6a
3 changed files with 190 additions and 27 deletions

View File

@@ -32,6 +32,8 @@ struct ConflictSet {
/// `end` having length 0 denotes that this range is the single key {begin}.
/// Otherwise this denotes the range [begin, end)
Key end;
/// Write version must be greater than all write versions in all previous
/// calls to `addWrites`
int64_t writeVersion;
};
/// `reads` must be sorted ascending, and must not have adjacent or