FATAL: could not open relation pg_tblspc/491086/467369/491103: No such file or directory - Mailing list pgsql-hackers

From Gianni Ciolli
Subject FATAL: could not open relation pg_tblspc/491086/467369/491103: No such file or directory
Date
Msg-id 20090116173911.GC4279@fune
Whole thread Raw
Responses Re: FATAL: could not open relation pg_tblspc/491086/467369/491103: No such file or directory
Re: FATAL: could not open relation pg_tblspc/491086/467369/491103: No such file or directory
List 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/491103xlog redo checkpoint:
redo1/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.ciolli@2ndquadrant.it | www.2ndquadrant.it



pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: [GENERAL] Question regarding new windowing functions in 8.4devel
Next
From: Tom Lane
Date:
Subject: Re: FWD: Re: Updated backslash consistency patch