Re: Standalone synchronous master

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема Re: Standalone synchronous master
Дата
Msg-id CAMkU=1xtECZb4HhuyQiNwjpo0a=szOuL5JsMBY9VM-JeJ52FZg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Standalone synchronous master  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, Jan 13, 2012 at 9:50 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 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.

Sure, but isn't that a very common usage?  Maybe my perceptions are
out of whack, but I commonly hear about fail-over and rarely hear
about using more than one slave so that you can fail over and still
have a positive number of slaves.

Cheers,

Jeff


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Fix breakage from earlier plperl fix.
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: Standalone synchronous master