mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 10:08:20 +00:00
Fix panic on async io due to reading locked page
This commit is contained in:
parent
6096cfb3d8
commit
f025f7e91e
1 changed files with 1 additions and 0 deletions
|
@ -1944,6 +1944,7 @@ impl BTreeCursor {
|
|||
let current_sibling = sibling_pointer;
|
||||
for i in (0..=current_sibling).rev() {
|
||||
let page = self.pager.read_page(pgno as usize)?;
|
||||
return_if_locked!(page);
|
||||
debug_validate_cells!(&page.get_contents(), self.usable_space() as u16);
|
||||
pages_to_balance[i].replace(page);
|
||||
assert_eq!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue