Re: logical decoding of two-phase transactions
От
Simon Riggs
Тема
Re: logical decoding of two-phase transactions
Дата
Msg-id
CANP8+jKEbhGmDOg09Was1gkuok-nATA-ZOGaee5oe2PisYtQXA@mail.gmail.com
Ответ на
Re: logical decoding of two-phase transactions (Andres Freund)
Список
Дерево обсуждения
Re: [HACKERS] logical decoding of two-phase transactions Nikhil Sontakke <nikhils@2ndquadrant.com>
Re: [HACKERS] logical decoding of two-phase transactions Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [HACKERS] logical decoding of two-phase transactions Andres Freund <andres@anarazel.de>
Re: [HACKERS] logical decoding of two-phase transactions Nikhil Sontakke <nikhils@2ndquadrant.com>
Re: [HACKERS] logical decoding of two-phase transactions Arseny Sher <a.sher@postgrespro.ru>
Re: [HACKERS] logical decoding of two-phase transactions Andres Freund <andres@anarazel.de>
Re: [HACKERS] logical decoding of two-phase transactions Arseny Sher <a.sher@postgrespro.ru>
Re: [HACKERS] logical decoding of two-phase transactions Nikhil Sontakke <nikhils@2ndquadrant.com>
Re: [HACKERS] logical decoding of two-phase transactions Arseny Sher <a.sher@postgrespro.ru>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Dilip Kumar <dilipbalaut@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Dilip Kumar <dilipbalaut@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Dilip Kumar <dilipbalaut@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Dilip Kumar <dilipbalaut@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Dilip Kumar <dilipbalaut@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Dilip Kumar <dilipbalaut@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
RE: [HACKERS] logical decoding of two-phase transactions "osumi.takamichi@fujitsu.com" <osumi.takamichi@fujitsu.com>
Re: [HACKERS] logical decoding of two-phase transactions Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
RE: [HACKERS] logical decoding of two-phase transactions "osumi.takamichi@fujitsu.com" <osumi.takamichi@fujitsu.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
RE: [HACKERS] logical decoding of two-phase transactions "osumi.takamichi@fujitsu.com" <osumi.takamichi@fujitsu.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Peter Smith <smithpb2250@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] logical decoding of two-phase transactions Ajin Cherian <itsajin@gmail.com>
On 28 March 2017 at 02:25, Andres Freund wrote: > On 2017-03-28 04:12:41 +0300, Stas Kelvich wrote: >> >> > On 28 Mar 2017, at 00:25, Andres Freund wrote: >> > >> > Hi, >> > >> > On 2017-03-28 00:19:29 +0300, Stas Kelvich wrote: >> >> Ok, here it is. >> > >> > On a very quick skim, this doesn't seem to solve the issues around >> > deadlocks of prepared transactions vs. catalog tables. What if the >> > prepared transaction contains something like LOCK pg_class; (there's a >> > lot more realistic examples)? Then decoding won't be able to continue, >> > until that transaction is committed / aborted? >> >> But why is that deadlock? Seems as just lock. > > If you actually need separate decoding of 2PC, then you want to wait for > the PREPARE to be replicated. If that replication has to wait for the > to-be-replicated prepared transaction to commit prepared, and commit > prepare will only happen once replication happened... Surely that's up to the decoding plugin? If the plugin takes locks it had better make sure it can get the locks or timeout. But that's true of any resource the plugin needs access to and can't obtain when needed. This issue could occur now if the transaction tool a session lock on a catalog table. -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления