Re: Standalone synchronous master

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Standalone synchronous master
Дата
Msg-id 26934.1326477049@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Standalone synchronous master  (Jeff Janes <jeff.janes@gmail.com>)
Ответы Re: Standalone synchronous master  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-hackers
Jeff Janes <jeff.janes@gmail.com> writes:
> I don't understand why this is controversial.  In the current code, if
> you have a master and a single sync standby, and the master disappears
> and you promote the standby, now the new master is running *without a
> standby*.

If you configured it to use sync rep, it won't accept any transactions
until you give it a standby.  If you configured it not to, then it's you
that has changed the replication requirements.

> If you are willing to let the new master run without a
> standby, why are you not willing to let the
> the old one do so if it were the standby which failed in the first place?

Doesn't follow.
        regards, tom lane


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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: Standalone synchronous master
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: read transaction and sync rep