Re: 2PC-induced lockup
От | Heikki Linnakangas |
---|---|
Тема | Re: 2PC-induced lockup |
Дата | |
Msg-id | 46951020.9010606@enterprisedb.com обсуждение исходный текст |
Ответ на | Re: 2PC-induced lockup (Andrew Sullivan <ajs@crankycanuck.ca>) |
Ответы |
Re: 2PC-induced lockup
|
Список | pgsql-hackers |
Andrew Sullivan wrote: > On Wed, Jul 11, 2007 at 04:44:12PM +0100, Heikki Linnakangas wrote: >> FWIW, deleting the files from pg_twophase is safe when the system is >> shut down. > > Is it safe for the PREPAREd TRANSACTIONs? I assume not. That is, in > Peter's presumably experimental case, it might be ok to delete the > files, but on a production system, you'd violate the semantics of 2PC > by doing this? It's effectively the same as manually issuing a ROLLBACK PREPARED. It will brake the atomicity of the global transaction, if some branches of that global transaction in other resource managers have already been committed. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: