Re: Dupes inserted that violate the PK

Поиск
Список
Период
Сортировка
От kevin kempter
Тема Re: Dupes inserted that violate the PK
Дата
Msg-id 65E0B7AA-6B04-4886-88DA-22ABDCA7D466@kevinkempterllc.com
обсуждение исходный текст
Ответ на Re: Dupes inserted that violate the PK  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-admin
8.2.9

I have a hunch what went wrong. We tested a warm standby failover
while the 'master' was still running - our warm standby includes a
process that grabs the final unarchived WAL segment from the master
pg_xlog directory. I have a hunch that this is where the disconnect
happened, I think the rule needs to be that we only execute a failover
based on bringing the master down as opposed to simply creating the
trigger file.  I'm trying to test this theory out now - I'll update
the list with my findings.



/Kevin


On Jul 8, 2008, at 10:52 AM, Alvaro Herrera wrote:

> kevin kempter wrote:
>
>> We suspected the index was corrupt but a reindex fails for obvious
>> reasons.
>
> What version is this?  We're investigating a similar problem on
> 8.1.11.
>
>
>
> --
> Alvaro Herrera                                http://www.CommandPrompt.com/
> PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Dupes inserted that violate the PK
Следующее
От: "Igor Neyman"
Дата:
Сообщение: Re: dropping a user in 8.2.6