mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-16 18:02:56 +00:00
Reset checkpoiunt redo field after storing it to correctly detect normal shutdown
This commit is contained in:
@@ -282,6 +282,7 @@ impl WalIngest {
|
||||
let new_checkpoint_bytes = self.checkpoint.encode()?;
|
||||
|
||||
modification.put_checkpoint(new_checkpoint_bytes)?;
|
||||
enum_pgversion_dispatch!(&mut self.checkpoint, CheckPoint, cp, { cp.redo = 0 });
|
||||
self.checkpoint_modified = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user