Re: another failover testing question

Поиск
Список
Период
Сортировка
От David Parker
Тема Re: another failover testing question
Дата
Msg-id 07FDEE0ED7455A48AC42AC2070EDFF7C7467FC@corpsrv2.tazznetworks.com
обсуждение исходный текст
Ответ на another failover testing question  ("David Parker" <dparker@tazznetworks.com>)
Ответы Re: another failover testing question  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Sorry, neglected the version yet again: 7.4.5. What happens is that we
have active connections accessing tables that are being replicated by
slony. Then somebody does an uninstall of slony, which removes the slony
trigger from those tables. Then we start getting the OID error.

If this should indeed not be an issue in 7.4.5, I will try to come up
with a test case independent of a slony install.

Thanks.

- DAP

>-----Original Message-----
>From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
>Sent: Thursday, May 26, 2005 4:30 PM
>To: David Parker
>Cc: postgres general
>Subject: Re: [GENERAL] another failover testing question
>
>"David Parker" <dparker@tazznetworks.com> writes:
>> Something that we end up doing sometimes in our failover testing is
>> removing slony replication from an "active" (data provider) server.
>> Because this involves removing triggers from tables, we end up with
>> currently connected clients getting a bunch of "OID 123 not found"
>> errors, where the OID is that of the recently removed trigger.
>
>> Is there any way short of cycling all client connections to have the
>> server processes clean that information out of their cache when an
>> object disappears like this from the database?
>
>AFAICS, there already *is* adequate interlocking for this.
>What PG version are you testing, and can you provide a
>self-contained test case?
>
>            regards, tom lane
>

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

Предыдущее
От: Hrishikesh Deshmukh
Дата:
Сообщение: Re: Just a crazy idea!
Следующее
От: Matt Miller
Дата:
Сообщение: Re: Just a crazy idea!