| From: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
|---|---|
| To: | A J <s5aly(at)yahoo(dot)com> |
| Cc: | PG Admin <pgsql-admin(at)postgresql(dot)org> |
| Subject: | Re: replication_timeout does not seem to be working |
| Date: | 2011-07-22 13:19:49 |
| Message-ID: | CAHGQGwH=7eHwbjtnO25T=AH9-D8USov1_ZvrYz7bx+2SRaNWkA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
On Fri, Jul 22, 2011 at 5:14 AM, A J <s5aly(at)yahoo(dot)com> wrote:
> On 9.1, Beta3 I set the following on master
> replication_timeout = 10s # in milliseconds; 0 disables
> With no slaves running, I expect a failure in about 10s. But any Insert just
> hangs. Any idea ?
If you set up synchronous replication but there is no standby server,
all the write transactions are blocked infinitely whether replication_timeout
is enabled or not. If you want to cause those transactions to end, you need
to disable synchronous replication by, for example, emptying
synchronous_standby_names or need to set up new standby.
Regards,
--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Juan Cuervo (Quality Telecom) | 2011-07-22 13:24:23 | Re: revoked permissions on table still allows users to see table's structure |
| Previous Message | Johann Spies | 2011-07-22 08:55:51 | Re: Out of memory |