pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: thomas.eckestad@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #7634: Missing files in global/ after a lot of CREATE DATABASE / DROP DATABASE
Date: Thu, 01 Nov 2012 07:57:58 +0000
Message-ID: <E1TTpf4-0007Y5-Vh@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      7634
Logged by:          Thomas
Email address:      thomas.eckestad@gmail.com
PostgreSQL version: 9.1.6
Operating system:   Linux
Description:        

Hi,

We are using a Postgres server dedicated for unit testing, i.e. for testing
our code interacting with the database. Each unit test may create, use and
then drop one or more test databases. When running the complete test suite a
lot of databases are created and dropped (>100).

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"

For now we handle this situation by automatically performing a complete
reinstall of the test database server when we detect the error. So we have a
satisfactory workaround in place.

We are using PostgreSQL 9.1.6 on x86_64-unknown-linux-gnu, compiled by gcc
(GCC) 4.3.4, 64-bit.

Best regards,
Thomas






view thread (5+ messages)  latest in thread

Message-ID: <E1TTpf4-0007Y5-Vh@wrigleys.postgresql.org>
Permalink:  ../E1TTpf4-0007Y5-Vh@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1TTpf4-0007Y5-Vh@wrigleys.postgresql.org

 · 

reply

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: thomas.eckestad@gmail.com
  Subject: Re: BUG #7634: Missing files in global/ after a lot of CREATE DATABASE / DROP DATABASE
  In-Reply-To: <E1TTpf4-0007Y5-Vh@wrigleys.postgresql.org>
  References: <E1TTpf4-0007Y5-Vh@wrigleys.postgresql.org>

* 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