This commit is contained in:
Bojan Serafimov
2022-04-14 13:42:35 -04:00
parent 382e567fc0
commit 1622de3fda
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -12,14 +12,14 @@
//! only measure read performance.
//!
use anyhow::Result;
use bytes::{BufMut, Bytes, BytesMut};
use bytes::{BufMut, BytesMut};
use once_cell::sync::OnceCell;
use serde::{Deserialize, Serialize};
use std::fs::File;
use tokio::io::{AsyncReadExt, AsyncWriteExt};
use tokio::io::AsyncReadExt;
use zenith_utils::lsn::Lsn;
use crate::{config::PageServerConf, repository::Key, walrecord::DecodedBkpBlock};
use crate::{config::PageServerConf, walrecord::DecodedBkpBlock};
pub static WAL_METADATA_FILE: OnceCell<File> = OnceCell::new();
+1 -1
View File
@@ -255,7 +255,7 @@ impl<'a, R: Repository> WalIngest<'a, R> {
lsn,
size: recdata_len,
affected_pages: decoded.blocks.iter().map(|blk| blk.into()).collect(),
});
})?;
// If checkpoint data was updated, store the new version in the repository
if self.checkpoint_modified {