Re: logical replication seems broken

Поиск
Список
Период
Сортировка
От vignesh C
Тема Re: logical replication seems broken
Дата
Msg-id CALDaNm3jvX+vk3=SCXbMNJi=_Hi9uW8b9qt7Fa6gUVY4SqDBSA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: logical replication seems broken  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
On Mon, Feb 15, 2021 at 5:02 PM Amit Kapila <amit.kapila16@gmail.com> wrote:
>
> On Mon, Feb 15, 2021 at 11:53 AM vignesh C <vignesh21@gmail.com> wrote:
> >
> > On Sat, Feb 13, 2021 at 5:58 PM Erik Rijkers <er@xs4all.nl> wrote:
> > >
> > >
> > > I compiled just now a binary from HEAD, and a binary from HEAD+patch
> > >
> > > HEAD is still broken; your patch rescues it, so yes, fixed.
> > >
> > > Maybe a test (check or check-world) should be added to run a second replica?  (Assuming that would have caught
thisbug)
 
> > >
> >
> > +1 for the idea of having a test for this. I have written a test for this.
> > Thanks for the fix Amit, I could reproduce the issue without your fix
> > and verified that the issue gets fixed with the patch you shared.
> > Attached a patch for the same. Thoughts?
> >
>
> I have slightly modified the comments in the test case to make things
> clear. I am planning not to backpatch this because there is no way in
> the core code to hit this prior to commit ce0fdbfe97 and we haven't
> received any complaints so far. What do you think?

The changes look fine to me.

Regards,
Vignesh



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: ERROR: invalid spinlock number: 0
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Online checksums patch - once again