From 812160ba164b73bdcb4239b45b583032732130cd Mon Sep 17 00:00:00 2001 From: Dmitry Rodionov Date: Tue, 31 Aug 2021 12:03:05 +0300 Subject: [PATCH] fix XLOG_MULTIXACT_ZERO_MEM_PAGE wal parsing closes #453 --- pageserver/src/restore_local_repo.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pageserver/src/restore_local_repo.rs b/pageserver/src/restore_local_repo.rs index 0f846b1738..768f557e6f 100644 --- a/pageserver/src/restore_local_repo.rs +++ b/pageserver/src/restore_local_repo.rs @@ -488,7 +488,7 @@ pub fn save_decoded_record( lsn, ZERO_PAGE, )?; - } else if info == pg_constants::XLOG_MULTIXACT_ZERO_OFF_PAGE { + } else if info == pg_constants::XLOG_MULTIXACT_ZERO_MEM_PAGE { let pageno = buf.get_u32_le(); let segno = pageno / pg_constants::SLRU_PAGES_PER_SEGMENT; let rpageno = pageno % pg_constants::SLRU_PAGES_PER_SEGMENT;