From: | Beena Emerson <memissemerson(at)gmail(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Support for N synchronous standby servers - take 2 |
Date: | 2015-07-07 05:32:57 |
Message-ID: | 1436247177099-5856868.post@n5.nabble.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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.
From | Date | Subject | |
---|---|---|---|
Next Message | Beena Emerson | 2015-07-07 05:38:25 | Re: Support for N synchronous standby servers - take 2 |
Previous Message | Josh Berkus | 2015-07-07 05:19:28 | Re: Support for N synchronous standby servers - take 2 |