Skip to content

Commit

Permalink
Simple repro of issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tjgreen42 committed Dec 12, 2024
1 parent 9c012a0 commit 5fd9d4e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pgvectorscale/src/util/tape.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,16 @@ mod tests {
);
node_page
};
{
let mut page = WritablePage::modify(&indexrel, node_page);
let buf: Vec<u8> = vec![4; page.get_free_space() - 3];
println!(
"Adding buf of size {} < {}",
buf.len(),
page.get_free_space()
);
page.add_item(&buf);
}

{
let mut tape = Tape::resume(&indexrel, PageType::SbqMeans);
Expand Down

0 comments on commit 5fd9d4e

Please sign in to comment.