From: Tom Lane <tgl@sss.pgh.pa.us>
To: thomas.eckestad@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7634: Missing files in global/ after a lot of CREATE DATABASE / DROP DATABASE
Date: Thu, 01 Nov 2012 14:20:39 -0400
Message-ID: <4225.1351794039@sss.pgh.pa.us> (raw)
In-Reply-To: <E1TTpf4-0007Y5-Vh@wrigleys.postgresql.org>
References: <E1TTpf4-0007Y5-Vh@wrigleys.postgresql.org>
thomas.eckestad@gmail.com writes:
> After a couple of days/weeks with frequent unit test activity DROP DATABASE
> eventually triggers errors on the following form:
> 2012-05-08 08:53:02.512 CEST> LOG: statement: DROP DATABASE IF EXISTS
> "HEAD_test_migrate_group_data_10010018668"
> 2012-05-08 08:53:02.512 CEST> ERROR: could not open file "global/12693": No
> such file or directory
> 2012-05-08 08:53:02.512 CEST> STATEMENT: DROP DATABASE IF EXISTS
> "HEAD_test_migrate_group_data_10010018668"
That is extremely peculiar --- AFAICS, 9.1 should never assign a
relfilenode of 12693. (OIDs assigned by initdb don't get past about
11900 in that version, and OIDs assigned after normal postmaster start
should always be above 16384.) Is it always exactly "global/12693"
that's complained of? Could you monitor the contents of $PGDATA/global
and see if the set of filenames present changes while you're running
these tests?
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, thomas.eckestad@gmail.com
Subject: Re: BUG #7634: Missing files in global/ after a lot of CREATE DATABASE / DROP DATABASE
In-Reply-To: <4225.1351794039@sss.pgh.pa.us>
References: <E1TTpf4-0007Y5-Vh@wrigleys.postgresql.org> <4225.1351794039@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox