failed assertion and panic in standby mode - Mailing list pgsql-hackers

From Jaime Casanova
Subject failed assertion and panic in standby mode
Date
Msg-id z2j3073cc9b1004292151md42d950oc7c79a9ac7d64bbe@mail.gmail.com
Whole thread Raw
Responses Re: failed assertion and panic in standby mode  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: failed assertion and panic in standby mode  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
Hi,

i was trying recent HS and get this when trying to start the standby,
actually i was expecting a crash because i use full_page_writes=off
and i guess it won't work.
Maybe we could say full_page_writes=off and wal_level=hot_standby are
conflicting and avoid such setup?
"""
LOG:  database system was interrupted; last known up at 2010-04-29 23:38:53 ECT
LOG:  entering standby mode
LOG:  restored log file "000000010000000000000004" from archive
LOG:  redo starts at 0/452A898
TRAP: FailedAssertion("!(( (metabuffer) != 0 && (metabuffer) >=
-NLocBuffer && (metabuffer) <= NBuffers ))", File: "ginxlog.c", Line:
590)
LOG:  startup process (PID 8287) was terminated by signal 6: Aborted
LOG:  terminating any other active server processes
"""

then i try again, i make the backup when running "make installcheck"
for the second time and i get this:
"""
LOG:  database system was interrupted; last known up at 2010-04-29 23:48:13 ECT
LOG:  entering standby mode
LOG:  restored log file "00000001000000000000000B" from archive
LOG:  redo starts at 0/B000020
WARNING:  could not open directory "base/40596": No existe el fichero
o el directorio
CONTEXT:  xlog redo drop db: dir 40596/1663
WARNING:  some useless files may be left behind in old database
directory "base/40596"
CONTEXT:  xlog redo drop db: dir 40596/1663
LOG:  restored log file "00000001000000000000000C" from archive
PANIC:  btree_redo: unknown op code 208
CONTEXT:  xlog redo UNKNOWN
LOG:  startup process (PID 9264) was terminated by signal 6: Aborted
LOG:  terminating any other active server processes
"""

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157


pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Re: [COMMITTERS] pgsql: MakeCheckRequiredParameterValues() depend upon correct
Next
From: Tom Lane
Date:
Subject: Re: failed assertion and panic in standby mode