Re: Support for N synchronous standby servers - take 2

Поиск
Список
Период
Сортировка
От Beena Emerson
Тема Re: Support for N synchronous standby servers - take 2
Дата
Msg-id 1436247177099-5856868.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: Support for N synchronous standby servers - take 2  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
Josh Berkus wrote:

> '{ "remotes" : { "london_servers" : { "quorum" : 2, "servers" : [ 
> "london1", "london2", "london3" ] }, "nc_servers" : { "quorum" : 1, 
> "servers" [ "nc1", "nc2" ] } }' 
> 
> This says: as the "remotes" group, synch with a quorum of 2 servers in 
> london and a quorum of 1 server in NC.

I wanted to clarify about the format.
The remotes group does not specify any quorum, only its individual elements
mention the quorum.
"remotes" is said to sync in london_servers "and" NC.
Would absence of a quorum number in a group mean "all" elements?
Or the above would be represented as following to imply "AND" between the 2
DC.

'{ "remotes" : "quorum" : 2, "servers" :{ "london_servers" :     { "quorum" : 2, "servers" : [ "london1", "london2",
"london3"] },  "nc_servers" :     { "quorum" : 1, "servers" : [ "nc1", "nc2" ] } }
 
}'





-----
Beena Emerson

--
View this message in context:
http://postgresql.nabble.com/Support-for-N-synchronous-standby-servers-take-2-tp5849384p5856868.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Support for N synchronous standby servers - take 2
Следующее
От: Beena Emerson
Дата:
Сообщение: Re: Support for N synchronous standby servers - take 2