Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Patches > Re: Improve shu...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 9 Topic 3627 of 3966
Post > Topic >>

Re: Improve shutdown during online backup, take 4

by laurenz.albe@[EMAIL PROTECTED] ("Albe Laurenz") Apr 25, 2008 at 05:12 PM

Tom Lane wrote:
> Why?  That seems like an entirely arbitrary specification.

My resoning is that I think of smart/fast/immediate shutdown
as three different things.

For an immediate shutdown/crash thought it was best not to modify
anything to facilitate an analysis of the problem.

A fast shutdown that fails will end up as a crash or immediate
shutdown.


If you think that is is not im****tant to only cancel backup mode
if we are sure that the shutdown will be clean, we might as well
also cancel online backup mode during an immediate shutdown.

In that case, I'd agree that the call to CancelBackup() could be moved
to WAIT_BACKUP (and executed only if it is no smart shutdown).
It would have the advantage of having all backup mode related
code in postmaster.c concentrated in one spot.


Make a suggestion, and I'll implement it that way.

Yours,
Laurenz Albe

--=20
Sent via pgsql-patches mailing list (pgsql-patches@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches
 




 9 Posts in Topic:
Re: Improve shutdown during online backup, take 4
magnus@[EMAIL PROTECTED]   2008-04-23 16:08:36 
Re: Improve shutdown during online backup, take 4
tgl@[EMAIL PROTECTED] (T  2008-04-23 11:59:11 
Re: Improve shutdown during online backup, take 4
tgl@[EMAIL PROTECTED] (T  2008-04-24 10:25:25 
Re: Improve shutdown during online backup, take 4
tgl@[EMAIL PROTECTED] (T  2008-04-24 11:56:27 
Re: Improve shutdown during online backup, take 4
laurenz.albe@[EMAIL PROTE  2008-04-25 09:00:59 
Re: Improve shutdown during online backup, take 4
tgl@[EMAIL PROTECTED] (T  2008-04-25 10:22:38 
Re: Improve shutdown during online backup, take 4
laurenz.albe@[EMAIL PROTE  2008-04-25 17:12:19 
Re: Improve shutdown during online backup, take 4
tgl@[EMAIL PROTECTED] (T  2008-04-26 18:51:49 
Re: Improve shutdown during online backup, take 4
laurenz.albe@[EMAIL PROTE  2008-04-28 08:57:51 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Sep 6 15:20:46 CDT 2008.