pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: A J <s5aly@yahoo.com>
To: PG Admin <pgsql-admin@postgresql.org>
Subject: Sync replication waits for only 1 slave
Date: Tue, 7 Jun 2011 14:33:53 -0700 (PDT)
Message-ID: <488118.23133.qm@web120004.mail.ne1.yahoo.com> (raw)

Hello

Having a master and 2 slaves in synchronous replication mode in 9.1

The master seems to wait for only one slave to respond before considering the 
transaction to be complete. I have done the setting for master to wait for all 
the slaves to finish:
synchronous_standby_names = '*'
I even tried replacing * with both the slave application_names.

Still master just waits for a single slave. Am I doing something incorrect or is 
it a limitation ?

Thanks.
AJ

view thread (2+ messages)  latest in thread

Message-ID: <488118.23133.qm@web120004.mail.ne1.yahoo.com>
Permalink:  ../488118.23133.qm@web120004.mail.ne1.yahoo.com/
Also on:    postgresql.org/message-id/488118.23133.qm@web120004.mail.ne1.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: s5aly@yahoo.com
  Subject: Re: Sync replication waits for only 1 slave
  In-Reply-To: <488118.23133.qm@web120004.mail.ne1.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox