Re: Failure of subscription tests with topminnow

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: Failure of subscription tests with topminnow
Дата
Msg-id CAA4eK1K6xbVpM4tWm78FO=Lz2Ra08Uh=xHbcyj5GhFezXkWWhQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Failure of subscription tests with topminnow  (Ajin Cherian <itsajin@gmail.com>)
Ответы Re: Failure of subscription tests with topminnow
Список pgsql-hackers
On Wed, Aug 25, 2021 at 8:00 AM Ajin Cherian <itsajin@gmail.com> wrote:
>
> On Tue, Aug 24, 2021 at 11:12 PM Amit Kapila <amit.kapila16@gmail.com> wrote:
>
> > But will poll function still poll or exit? Have you tried that?
>
> I have forced that condition with a changed query and found that the
> poll will not exit in case of a NULL return.
>

What if the query in a poll is fired just before we get an error
"tap_sub ERROR:  replication slot "tap_sub" is active for PID 16336"?
Won't at that stage both old and new walsender's are present, so the
query might return true. You can check that via debugger by stopping
just before this error occurs and then check pg_stat_replication view.

>
> I will try with REL_11_STABLE and see if the behaviour is different.
>

Okay, but I still suspect some timing issue here.

-- 
With Regards,
Amit Kapila.



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

Предыдущее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: pgstat_send_connstats() introduces unnecessary timestamp and UDP overhead
Следующее
От: Peter Smith
Дата:
Сообщение: Re: logical replication empty transactions