Re: Warm standby problems: Followup

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Warm standby problems: Followup
Дата
Msg-id 5457.1256674843@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Warm standby problems: Followup  ("David F. Skoll" <dfs@roaringpenguin.com>)
Список pgsql-admin
"David F. Skoll" <dfs@roaringpenguin.com> writes:
> Tom Lane wrote:
>> So, when it archives successfully the second time, which if either of
>> the two mismatched sha1's proves to have been correct?

> The one on the master server (lines wrapped for readability).
> However, the sha1 is taken after rsync exits, so it's unknown what
> the local sha1 actually was while the rsync was running.

Be worth taking the sha1 first to see if you get a different answer
about that, or maybe even doing it twice.

>> (I'm still wondering about the possibility that the WAL file is changing
>> underneath you ...)

> Well, can PostgreSQL change the WAL file while the archive_command is
> running?

It's not supposed to...

            regards, tom lane

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

Предыдущее
От: "David F. Skoll"
Дата:
Сообщение: Re: Warm standby problems: Followup
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: [HACKERS] pg_standby doesnt't work