mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-10 15:02:56 +00:00
Fix handling truncated WAL records in GC
This commit is contained in:
@@ -211,7 +211,7 @@ impl CacheEntryContent {
|
||||
buf.put_u16(image.len() as u16);
|
||||
buf.put_slice(&image[..]);
|
||||
} else if let Some(rec) = &self.wal_record {
|
||||
if rec.truncated {
|
||||
if rec.truncate {
|
||||
buf.put_u8(TRUNCATED_FLAG);
|
||||
} else {
|
||||
buf.put_u8(0);
|
||||
|
||||
Reference in New Issue
Block a user