Re: [Proposal] Add foreign-server health checks infrastructure

Поиск
Список
Период
Сортировка
Искать
От
Fujii Masao
Тема
Re: [Proposal] Add foreign-server health checks infrastructure
Дата
Msg-id
4968741d-f32c-a251-efc9-2d3db83e6891@oss.nttdata.com
Ответ на
Список
Дерево обсуждения
[Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Shinya Kato <Shinya11.Kato@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Shinya Kato <Shinya11.Kato@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Zhihong Yu <zyu@yugabyte.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Zhihong Yu <zyu@yugabyte.com>
Re: [Proposal] Add foreign-server health checks infrastructure Shinya Kato <Shinya11.Kato@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Shinya Kato <Shinya11.Kato@oss.nttdata.com>
Re: [Proposal] Add foreign-server health checks infrastructure Zhihong Yu <zyu@yugabyte.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Fujii Masao <masao.fujii@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Fujii Masao <masao.fujii@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Fujii Masao <masao.fujii@oss.nttdata.com>
Re: [Proposal] Add foreign-server health checks infrastructure Kyotaro Horiguchi <horikyota.ntt@gmail.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Kyotaro Horiguchi <horikyota.ntt@gmail.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Fujii Masao <masao.fujii@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Fujii Masao <masao.fujii@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Fujii Masao <masao.fujii@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Andres Freund <andres@anarazel.de>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Önder Kalacı <onderkalaci@gmail.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Önder Kalacı <onderkalaci@gmail.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Önder Kalacı <onderkalaci@gmail.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Kyotaro Horiguchi <horikyota.ntt@gmail.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Önder Kalacı <onderkalaci@gmail.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Önder Kalacı <onderkalaci@gmail.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Andres Freund <andres@anarazel.de>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure vignesh C <vignesh21@gmail.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Tom Lane <tgl@sss.pgh.pa.us>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Ted Yu <yuzhihong@gmail.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Katsuragi Yuta <katsuragiy@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Ted Yu <yuzhihong@gmail.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Katsuragi Yuta <katsuragiy@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Kyotaro Horiguchi <horikyota.ntt@gmail.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Katsuragi Yuta <katsuragiy@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Peter Smith <smithpb2250@gmail.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Katsuragi Yuta <katsuragiy@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Peter Smith <smithpb2250@gmail.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Katsuragi Yuta <katsuragiy@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Katsuragi Yuta <katsuragiy@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Katsuragi Yuta <katsuragiy@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Katsuragi Yuta <katsuragiy@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure vignesh C <vignesh21@gmail.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Katsuragi Yuta <katsuragiy@oss.nttdata.com>
Re: [Proposal] Add foreign-server health checks infrastructure Katsuragi Yuta <katsuragiy@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Fujii Masao <masao.fujii@oss.nttdata.com>
Re: [Proposal] Add foreign-server health checks infrastructure Tom Lane <tgl@sss.pgh.pa.us>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Shubham Khanna <khannashubham1197@gmail.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Fujii Masao <masao.fujii@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Fujii Masao <masao.fujii@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Fujii Masao <masao.fujii@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Fujii Masao <masao.fujii@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Fujii Masao <masao.fujii@oss.nttdata.com>
Re: [Proposal] Add foreign-server health checks infrastructure Fujii Masao <masao.fujii@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Fujii Masao <masao.fujii@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Fujii Masao <masao.fujii@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
RE: [Proposal] Add foreign-server health checks infrastructure "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
RE: [Proposal] Add foreign-server health checks infrastructure "osumi.takamichi@fujitsu.com" <osumi.takamichi@fujitsu.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
RE: [Proposal] Add foreign-server health checks infrastructure "osumi.takamichi@fujitsu.com" <osumi.takamichi@fujitsu.com>
RE: [Proposal] Add foreign-server health checks infrastructure "osumi.takamichi@fujitsu.com" <osumi.takamichi@fujitsu.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Kyotaro Horiguchi <horikyota.ntt@gmail.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
Re: [Proposal] Add foreign-server health checks infrastructure Fujii Masao <masao.fujii@oss.nttdata.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
RE: [Proposal] Add foreign-server health checks infrastructure "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>


On 2022/02/22 15:41, kuroda.hayato@fujitsu.com wrote:
> Cfbot is still angry because of missing PGDLLIMPORT, so attached.

Thanks for updating the patches!

The connection check timer is re-scheduled repeatedly even while the backend is in idle state or is running a local transaction that doesn't access to any foreign servers. I'm not sure if it's really worth checking the connections even in those states. Even without the periodic connection checks, if the connections are closed in those states, subsequent GetConnection() will detect that closed connection and re-establish the connection when starting remote transaction. Thought?


When a closed connection is detected in idle-in-transaction state and SIGINT is raised, nothing happens because there is no query running to be canceled by SIGINT. Also in this case the connection check timer gets disabled. So we can still execute queries that don't access to foreign servers, in the same transaction, and then the transaction commit fails. Is this expected behavior?


When I shutdowned the foreign server while the local backend is in idle-in-transaction state, the connection check timer was triggered and detected the closed connection. Then when I executed COMMIT command, I got the following WARNING message. Is this a bug?

     WARNING:  leaked hash_seq_search scan for hash table 0x7fd2ca878f20

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION


В списке pgsql-hackers по дате отправления
От: kuroda.hayato@fujitsu.com
Дата:
От: Aleksander Alekseev
Дата:
FAQ