-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Problem
Currently, when we scan an index we represent the entries returned from the scan as two numbers - the start and end index of the first and last key in the list of entries. The index is the ordered position of the key in the b-tree.
However, this could lead to incorrect results when executing queries while an entry in the database is updated during the query execution.
For instance, if we scan an index and it returns a an interval of (0, 5). If a new entry with the smallest key is inserted into the index (b-tree), it will be inserted at index 0 and as a result shift the results of our scan to (1, 6).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working