mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-16 18:02:56 +00:00
Update pageserver/src/basebackup.rs
Co-authored-by: Heikki Linnakangas <heikki@neon.tech>
This commit is contained in:
committed by
Konstantin Knizhnik
parent
3179b9bed2
commit
5d12e5a72d
@@ -258,8 +258,7 @@ where
|
||||
async fn send_tarball(mut self) -> Result<(), BasebackupError> {
|
||||
// TODO include checksum
|
||||
|
||||
// On normal Postgres shutdown, shutdown checkpoint should be performed and correspondent
|
||||
// WAL record should be the last record in the WAL.
|
||||
// Detect if we are creating the basebackup exactly at a shutdown checkpoint.
|
||||
let normal_shutdown = if let Ok(checkpoint_bytes) =
|
||||
self.timeline.get_checkpoint(self.lsn, self.ctx).await
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user