Add TODO
This commit is contained in:
@@ -604,9 +604,11 @@ Iterator firstGeq(Node *n, const std::span<const uint8_t> key) {
|
||||
return {stepwise.n, stepwise.cmp};
|
||||
}
|
||||
|
||||
// TODO rewrite in terms of FirstGeqStepwise?
|
||||
//
|
||||
// Logically this is the same as performing firstGeq and then checking against
|
||||
// point or range version according to cmp, but this version short circuits as
|
||||
// soon as it can prove that there's no conflict
|
||||
// soon as it can prove that there's no conflict.
|
||||
bool checkPointRead(Node *n, const std::span<const uint8_t> key,
|
||||
int64_t readVersion) {
|
||||
auto remaining = key;
|
||||
|
Reference in New Issue
Block a user