Re: Support for N synchronous standby servers - take 2 - Mailing list pgsql-hackers

From Beena Emerson
Subject Re: Support for N synchronous standby servers - take 2
Date
Msg-id 1436247177099-5856868.post@n5.nabble.com
Whole thread Raw
In response to Re: Support for N synchronous standby servers - take 2  (Josh Berkus <josh@agliodbs.com>)
List 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 by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Support for N synchronous standby servers - take 2
Next
From: Beena Emerson
Date:
Subject: Re: Support for N synchronous standby servers - take 2