Re: Synchronous Standalone Master Redoux

Поиск
Список
Период
Сортировка
Искать
От
Josh Berkus
Тема
Re: Synchronous Standalone Master Redoux
Дата
Msg-id
4FFE5002.8000101@agliodbs.com
Ответ на
Re: Synchronous Standalone Master Redoux (Jose Ildefonso Camargo Tolosa)
Список
Дерево обсуждения
Synchronous Standalone Master Redoux Shaun Thomas <sthomas@optionshouse.com>
Re: Synchronous Standalone Master Redoux Josh Berkus <josh@agliodbs.com>
Re: Synchronous Standalone Master Redoux Shaun Thomas <sthomas@optionshouse.com>
Re: Synchronous Standalone Master Redoux Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Synchronous Standalone Master Redoux Shaun Thomas <sthomas@optionshouse.com>
Re: Synchronous Standalone Master Redoux Josh Berkus <josh@agliodbs.com>
Re: Synchronous Standalone Master Redoux Robert Haas <robertmhaas@gmail.com>
Re: Synchronous Standalone Master Redoux Daniel Farina <daniel@heroku.com>
Re: Synchronous Standalone Master Redoux Amit Kapila <amit.kapila@huawei.com>
Re: Synchronous Standalone Master Redoux Shaun Thomas <sthomas@optionshouse.com>
Re: Synchronous Standalone Master Redoux Daniel Farina <daniel@heroku.com>
Re: Synchronous Standalone Master Redoux Aidan Van Dyk <aidan@highrise.ca>
Re: Synchronous Standalone Master Redoux Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Re: Synchronous Standalone Master Redoux Daniel Farina <daniel@heroku.com>
Re: Synchronous Standalone Master Redoux Shaun Thomas <sthomas@optionshouse.com>
Re: Synchronous Standalone Master Redoux Josh Berkus <josh@agliodbs.com>
Re: Synchronous Standalone Master Redoux Daniel Farina <daniel@heroku.com>
Re: Synchronous Standalone Master Redoux Shaun Thomas <sthomas@optionshouse.com>
Re: Synchronous Standalone Master Redoux Bruce Momjian <bruce@momjian.us>
Re: Synchronous Standalone Master Redoux Shaun Thomas <sthomas@optionshouse.com>
Re: Synchronous Standalone Master Redoux Hampus Wessman <hampus@hampuswessman.se>
Re: Synchronous Standalone Master Redoux Bruce Momjian <bruce@momjian.us>
Re: Synchronous Standalone Master Redoux Jose Ildefonso Camargo Tolosa <ildefonso.camargo@gmail.com>
Re: Synchronous Standalone Master Redoux Bruce Momjian <bruce@momjian.us>
Re: Synchronous Standalone Master Redoux Amit kapila <amit.kapila@huawei.com>
Re: Synchronous Standalone Master Redoux Jose Ildefonso Camargo Tolosa <ildefonso.camargo@gmail.com>
Re: Synchronous Standalone Master Redoux Amit kapila <amit.kapila@huawei.com>
Re: Synchronous Standalone Master Redoux Jose Ildefonso Camargo Tolosa <ildefonso.camargo@gmail.com>
Re: Synchronous Standalone Master Redoux Josh Berkus <josh@agliodbs.com>
Re: Synchronous Standalone Master Redoux Robert Haas <robertmhaas@gmail.com>
Re: Synchronous Standalone Master Redoux Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Synchronous Standalone Master Redoux Daniel Farina <daniel@heroku.com>
Re: Synchronous Standalone Master Redoux Jose Ildefonso Camargo Tolosa <ildefonso.camargo@gmail.com>
Re: Synchronous Standalone Master Redoux Jose Ildefonso Camargo Tolosa <ildefonso.camargo@gmail.com>
Re: Synchronous Standalone Master Redoux Aidan Van Dyk <aidan@highrise.ca>
Re: Synchronous Standalone Master Redoux Jose Ildefonso Camargo Tolosa <ildefonso.camargo@gmail.com>
Re: Synchronous Standalone Master Redoux Amit Kapila <amit.kapila@huawei.com>
Re: Synchronous Standalone Master Redoux Jose Ildefonso Camargo Tolosa <ildefonso.camargo@gmail.com>
Re: Synchronous Standalone Master Redoux Amit Kapila <amit.kapila@huawei.com>
Re: Synchronous Standalone Master Redoux Bruce Momjian <bruce@momjian.us>
Re: Synchronous Standalone Master Redoux Jose Ildefonso Camargo Tolosa <ildefonso.camargo@gmail.com>
Re: Synchronous Standalone Master Redoux Josh Berkus <josh@agliodbs.com>
Re: Synchronous Standalone Master Redoux Jose Ildefonso Camargo Tolosa <ildefonso.camargo@gmail.com>
Re: Synchronous Standalone Master Redoux Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Re: Synchronous Standalone Master Redoux Jose Ildefonso Camargo Tolosa <ildefonso.camargo@gmail.com>
Re: Synchronous Standalone Master Redoux Aidan Van Dyk <aidan@highrise.ca>
Re: Synchronous Standalone Master Redoux Jose Ildefonso Camargo Tolosa <ildefonso.camargo@gmail.com>
Re: Synchronous Standalone Master Redoux Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Re: Synchronous Standalone Master Redoux Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Re: Synchronous Standalone Master Redoux Daniel Farina <daniel@heroku.com>

> Please, stop arguing on all of this: I don't think that adding an
> option will hurt anybody (specially because the work was already done
> by someone), we are not asking to change how the things work, we just
> want an option to decided whether we want it to freeze on standby
> disconnection, or if we want it to continue automatically... is that
> asking so much?

The objection is that, *given the way synchronous replication currently
works*, having that kind of an option would make the "synchronous"
setting fairly meaningless.  The only benefit that synchronous
replication gives you is the guarantee that a write on the master is
also on the standby.  If you remove that guarantee, you are using
asynchronous replication, even if the setting says synchronous.

I think what you really want is a separate "auto-degrade" setting.  That
is, a setting which says "if no synchronous standby is present,
auto-degrade to async/standalone, and start writing a bunch of warning
messages to the logs and whenever anyone runs a synchronous
transaction".  That's an approach which makes some sense, but AFAICT
somewhat different from the proposed patch.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



В списке pgsql-hackers по дате отправления
От: Kyotaro HORIGUCHI
Дата:
От: Kohei KaiGai
Дата:
Сообщение: Re: pgsql_fdw in contrib
FAQ