mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-22 07:30:37 +00:00
Do not check cont record for second segment because itcontains dummy checkpoint record
This commit is contained in:
@@ -266,7 +266,7 @@ pub fn find_end_of_wal(
|
||||
* we need to parse previous segment.
|
||||
* FIXME: handle case when wal record is larger than WAL segment
|
||||
*/
|
||||
if high_segno > 1 {
|
||||
if high_segno > 2 {
|
||||
let prev_offs = find_end_of_wal_segment(
|
||||
data_dir,
|
||||
high_segno - 1,
|
||||
|
||||
Reference in New Issue
Block a user