FATAL: could not open relation pg_tblspc/491086/467369/491103: No such file or directory

From: Gianni Ciolli <gianni(dot)ciolli(at)2ndquadrant(dot)it>
To: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, Gabriele Bartolini <gabriele(dot)bartolini(at)2ndquadrant(dot)it>
Subject: FATAL: could not open relation pg_tblspc/491086/467369/491103: No such file or directory
Date: 2009-01-16 17:39:11
Message-ID: 20090116173911.GC4279@fune
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

we found a bug while testing the latest version of Hot Standby. Then
we could reproduce it on the unpatched HEAD, so we are going to ignore
it in the next few days.

During a Warm Standby session using current HEAD I obtained the
following error on the standby node:

---8<------8<------8<------8<------8<------8<------8<------8<------8<---
2009-01-16 16:24:01 GMT[30678]LOG: restored log file "0000000100000001000000C2" from archive
2009-01-16 16:24:01 GMT[30678]FATAL: could not open relation pg_tblspc/491086/467369/491103: No such file or directory
2009-01-16 16:24:01 GMT[30678]CONTEXT: writing block 1 of relation pg_tblspc/491086/467369/491103
xlog redo checkpoint: redo 1/C2001AB8; tli 1; xid 0/89982; oid 491520; multi 1; offset 0; online
2009-01-16 16:24:01 GMT[30665]LOG: startup process (PID 30678) exited with exit code 1
2009-01-16 16:24:01 GMT[30665]LOG: aborting startup due to startup process failure
2009-01-16 16:24:01 GMT[30677]DEBUG: logger shutting down
---8<------8<------8<------8<------8<------8<------8<------8<------8<---

After setting up the session, I started an endless loop of "make
installcheck" on the primary node; the error happened after 40/50
minutes.

At the present I can't say exactly which test was responsible for
that, but this information should be obtainable by raising debug level
on the primary and comparing WAL segment numbers while looking at both
logfiles. Anyway, since the error was raised by bgwriter when running
with Hot Standby patch applied, is likely to be something to do with
the guts of checkpointing.

Best regards,
Dr. Gianni Ciolli - 2ndQuadrant Italia
PostgreSQL Training, Services and Support
gianni(dot)ciolli(at)2ndquadrant(dot)it | www.2ndquadrant.it

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-01-16 17:40:02 Re: FWD: Re: Updated backslash consistency patch
Previous Message David Fetter 2009-01-16 17:38:21 Re: [HACKERS] Question regarding new windowing functions in 8.4devel