Bug fix
The bottommost node of a finger isn't necessarily the root for an iterator's version. It could be "end"
This commit is contained in:
@@ -152,8 +152,7 @@ struct __attribute__((__visibility__("default"))) VersionedMap {
|
||||
* and <= `getVersion()`.
|
||||
*
|
||||
* Thread-safe as long as a version is not concurrently invalidated by
|
||||
* `setOldestVersion`. There's a performance benefit if you pass iterator[i]
|
||||
* previously obtained at version[i]. */
|
||||
* `setOldestVersion`. */
|
||||
void firstGeq(const Key *key, const int64_t *version, Iterator *iterator,
|
||||
int count) const;
|
||||
|
||||
|
Reference in New Issue
Block a user