From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Timing problem in DROP TABLESPACE? |
Date: | 2008-11-06 15:07:30 |
Message-ID: | 20081106150730.GB5520@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Simon Riggs wrote:
> I've run regression tests many, many times recently, usually in the form
> of a looping installcheck, rather than just make check.
>
> On a recent test the last command of the last test has failed:
> DROP TABLESPACE testspace;
> ERROR: tablespace "testspace" is not empty
>
> The directory was confirmed as non-empty, though when running the
> command again it worked successfully.
Maybe it is failing due to files that are scheduled to be deleted by
next checkpoint? If it runs a checkpoint internally, perhaps there's a
race condition in the code that waits until the files are gone.
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-11-06 15:08:48 | Re: [PATCH] EnableDisableTrigger Cleanup & Questions |
Previous Message | Jonah H. Harris | 2008-11-06 14:49:13 | Re: [PATCH] EnableDisableTrigger Cleanup & Questions |