RE: Single transaction in the tablesync worker?

Поиск
Список
Период
Сортировка
Искать
От
osumi.takamichi@fujitsu.com
Тема
RE: Single transaction in the tablesync worker?
Дата
Msg-id
OSBPR01MB4888B09FB5D4D2DED6CBDB4EEDB29@OSBPR01MB4888.jpnprd01.prod.outlook.com
Ответ на
Список
Дерево обсуждения
Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Craig Ringer <craig.ringer@enterprisedb.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Dilip Kumar <dilipbalaut@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Ajin Cherian <itsajin@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Ajin Cherian <itsajin@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
RE: Single transaction in the tablesync worker? "Hou, Zhijie" <houzj.fnst@cn.fujitsu.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
RE: Single transaction in the tablesync worker? "Hou, Zhijie" <houzj.fnst@cn.fujitsu.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
RE: Single transaction in the tablesync worker? "Hou, Zhijie" <houzj.fnst@cn.fujitsu.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
RE: Single transaction in the tablesync worker? "Hou, Zhijie" <houzj.fnst@cn.fujitsu.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Ajin Cherian <itsajin@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Ajin Cherian <itsajin@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Ajin Cherian <itsajin@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Ajin Cherian <itsajin@gmail.com>
Re: Single transaction in the tablesync worker? Ajin Cherian <itsajin@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Ajin Cherian <itsajin@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Petr Jelinek <petr.jelinek@enterprisedb.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Petr Jelinek <petr.jelinek@enterprisedb.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Ajin Cherian <itsajin@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Petr Jelinek <petr.jelinek@enterprisedb.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Petr Jelinek <petr.jelinek@enterprisedb.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Petr Jelinek <petr.jelinek@enterprisedb.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Ajin Cherian <itsajin@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Ajin Cherian <itsajin@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
RE: Single transaction in the tablesync worker? "osumi.takamichi@fujitsu.com" <osumi.takamichi@fujitsu.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Ajin Cherian <itsajin@gmail.com>
RE: Single transaction in the tablesync worker? "osumi.takamichi@fujitsu.com" <osumi.takamichi@fujitsu.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
RE: Single transaction in the tablesync worker? "osumi.takamichi@fujitsu.com" <osumi.takamichi@fujitsu.com>
RE: Single transaction in the tablesync worker? "osumi.takamichi@fujitsu.com" <osumi.takamichi@fujitsu.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
RE: Single transaction in the tablesync worker? "osumi.takamichi@fujitsu.com" <osumi.takamichi@fujitsu.com>
Re: Single transaction in the tablesync worker? Ajin Cherian <itsajin@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Ajin Cherian <itsajin@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Peter Smith <smithpb2250@gmail.com>
Re: Single transaction in the tablesync worker? Craig Ringer <craig.ringer@enterprisedb.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Craig Ringer <craig.ringer@enterprisedb.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Re: Single transaction in the tablesync worker? Amit Kapila <amit.kapila16@gmail.com>
Hello



On Friday, February 5, 2021 2:23 PM Amit Kapila 
> On Fri, Feb 5, 2021 at 7:09 AM Peter Smith  wrote:
> >
> > On Thu, Feb 4, 2021 at 8:33 PM Amit Kapila 
> wrote:
> > >
> > ...
> >
> > > Thanks. I have fixed one of the issues reported by me earlier [1]
> > > wherein the tablesync worker can repeatedly fail if after dropping
> > > the slot there is an error while updating the SYNCDONE state in the
> > > database. I have moved the drop of the slot just before commit of
> > > the transaction where we are marking the state as SYNCDONE.
> > > Additionally, I have removed unnecessary includes in tablesync.c,
> > > updated the docs for Alter Subscription, and updated the comments at
> > > various places in the patch. I have also updated the commit message this
> time.
> > >
> >
> > Below are my feedback comments for V17 (nothing functional)
> >
> > ~~
> >
> > 1.
> > V27 Commit message:
> > For the initial table data synchronization in logical replication, we
> > use a single transaction to copy the entire table and then
> > synchronizes the position in the stream with the main apply worker.
> >
> > Typo:
> > "synchronizes" -> "synchronize"
> >
> 
> Fixed and added a note about Alter Sub .. Refresh .. command can't be
> executed in the transaction block.
Thank you for the updates.

We need to add some tests to prove the new checks of AlterSubscription() work. 
I chose TAP tests as we need to set connect = true for the subscription.
When it can contribute to the development, please utilize this.
I used v28 to check my patch and works as we expect.


Best Regards,
	Takamichi Osumi
В списке pgsql-hackers по дате отправления
От: Amit Kapila
Дата:
От: Ronan Dunklau
Дата:
FAQ