mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-16 01:42:55 +00:00
pagebench: hack around bug
This commit is contained in:
@@ -207,6 +207,10 @@ async fn main_impl(
|
||||
let r = &all_ranges[weights.sample(&mut rng)];
|
||||
let key: i128 = rng.gen_range(r.start..r.end);
|
||||
let key = repository::Key::from_i128(key);
|
||||
if key.field6 == 0xffffffff {
|
||||
// Hack around bug
|
||||
continue;
|
||||
}
|
||||
let (rel_tag, block_no) =
|
||||
key_to_rel_block(key).expect("we filter non-rel-block keys out above");
|
||||
(r, RelTagBlockNo { rel_tag, block_no })
|
||||
|
||||
Reference in New Issue
Block a user