mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-10 18:54:22 +01:00
add FIXME about balance after interior node replacement
This commit is contained in:
@@ -4467,6 +4467,8 @@ impl BTreeCursor {
|
||||
target_key: post_balancing_seek_key.unwrap(),
|
||||
}
|
||||
} else {
|
||||
// FIXME: if we deleted something from an interior page, this is now the leaf page from where a replacement cell
|
||||
// was taken in InteriorNodeReplacement. We must also check if the parent needs balancing!!!
|
||||
self.stack.retreat();
|
||||
self.state = CursorState::None;
|
||||
return Ok(CursorResult::Ok(()));
|
||||
|
||||
Reference in New Issue
Block a user