mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-07 05:22:56 +00:00
add more context for error message
This commit is contained in:
@@ -565,7 +565,13 @@ impl Timeline for RocksTimeline {
|
||||
self.put_page_image(tag, lsn, page_img.clone());
|
||||
} else {
|
||||
// No base image, and no WAL record. Huh?
|
||||
bail!("no page image or WAL record for requested page");
|
||||
bail!(
|
||||
"no page image or WAL record for requested page {} blk {} at lsn {}({})",
|
||||
tag.rel,
|
||||
tag.blknum,
|
||||
req_lsn,
|
||||
lsn
|
||||
);
|
||||
}
|
||||
// FIXME: assumes little-endian. Only used for the debugging log though
|
||||
let page_lsn_hi =
|
||||
|
||||
Reference in New Issue
Block a user