feophant
feophant copied to clipboard
Implement index pointer validation
The BTreeLeafs have a doubly linked list to scan back and forth once you reach the bottom.
They are stored in multiple pages so if the database crashes they could be corrupted.
To work around this until I figure out a better way I can scan each leaf on database startup.
Will need to determine if the database shuts down unclean or not.