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.