Make page server startup less noisy.

This commit is contained in:
Heikki Linnakangas
2021-03-30 23:27:11 +03:00
committed by Stas Kelvich
parent 98b8426780
commit 52e754f301
2 changed files with 3 additions and 3 deletions

View File

@@ -405,8 +405,8 @@ pub fn put_page_image(tag: BufferTag, lsn: u64, img: Bytes)
PAGECACHE.num_entries.fetch_add(1, Ordering::Relaxed);
assert!(oldentry.is_none());
debug!("inserted page image for {}/{}/{}_{} blk {} at {}",
tag.spcnode, tag.dbnode, tag.relnode, tag.forknum, tag.blknum, lsn);
//debug!("inserted page image for {}/{}/{}_{} blk {} at {}",
// tag.spcnode, tag.dbnode, tag.relnode, tag.forknum, tag.blknum, lsn);
PAGECACHE.num_page_images.fetch_add(1, Ordering::Relaxed);
}

View File

@@ -112,7 +112,7 @@ async fn restore_chunk() -> Result<(), S3Error> {
}
page_cache::init_valid_lsn(oldest_lsn);
info!("{} files to read...", slurp_futures.len());
info!("{} files to restore...", slurp_futures.len());
future::join_all(slurp_futures).await;
info!("restored!");