Warning: interface change! Require versions >= 0
This commit is contained in:
@@ -2236,9 +2236,7 @@ template <bool kBegin>
|
||||
child->partialKeyLen = 0;
|
||||
child->parent = *self;
|
||||
child->parentsIndex = key.front();
|
||||
setMaxVersion(child, impl,
|
||||
kBegin ? writeVersion
|
||||
: std::numeric_limits<int64_t>::lowest());
|
||||
setMaxVersion(child, impl, kBegin ? writeVersion : 0);
|
||||
}
|
||||
|
||||
self = &child;
|
||||
@@ -2899,7 +2897,7 @@ Iterator firstGeq(Node *n, std::string_view key) {
|
||||
[[maybe_unused]] int64_t checkMaxVersion(Node *root, Node *node,
|
||||
int64_t oldestVersion, bool &success,
|
||||
ConflictSet::Impl *impl) {
|
||||
int64_t expected = std::numeric_limits<int64_t>::lowest();
|
||||
int64_t expected = 0;
|
||||
if (node->entryPresent) {
|
||||
expected = std::max(expected, node->entry.pointVersion);
|
||||
}
|
||||
|
Reference in New Issue
Block a user