Re: Support for N synchronous standby servers

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Support for N synchronous standby servers
Date: 2014-08-11 07:26:19
Message-ID: CAHGQGwF5JkR-KChtOxA+JE4s1aCGiK=A9AD20Weu3G-j0hL89g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Aug 11, 2014 at 2:10 PM, Michael Paquier
<michael(dot)paquier(at)gmail(dot)com> wrote:
>
>
> On Mon, Aug 11, 2014 at 1:26 PM, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
>> Thanks for updating the patch! Again I tested the feature and found
>> something
>> wrong. I set synchronous_standby_num to 2 and started three standbys. Two
>> of
>> them are included in synchronous_standby_names, i.e., they are synchronous
>> standbys. That is, the other one standby is always asynchronous. When
>> I shutdown one of synchronous standbys and executed the write transaction,
>> the transaction was successfully completed. So the transaction doesn't
>> wait for
>> two sync standbys in that case. Probably this is a bug.
> Well, that's working in my case :)

Oh, that worked in my machine, too, this time... I did something wrong.
Sorry for the noise.

Regards,

--
Fujii Masao

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2014-08-11 07:26:53 Re: Function to know last log write timestamp
Previous Message Fujii Masao 2014-08-11 07:20:41 Re: Function to know last log write timestamp