Re: Sync Rep: First Thoughts on Code - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: Sync Rep: First Thoughts on Code
Date
Msg-id 3f0b79eb0812022315u62011030mf6cecbccc38d9820@mail.gmail.com
Whole thread Raw
In response to Re: Sync Rep: First Thoughts on Code  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-hackers
Hi,

On Wed, Dec 3, 2008 at 4:08 AM, Jeff Davis <pgsql@j-davis.com> wrote:
> Even if that could be made safe, in the event of a real network failure,
> you'd just wait the full timeout every transaction, because it still
> thinks it's replicating.

If walsender detects a real network failure, the transaction doesn't need to
wait for the timeout. Configuring keepalive options would help walsender to
detect it. Of course, though keepalive on linux might not work as expected.

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


pgsql-hackers by date:

Previous
From: "Guillaume Smet"
Date:
Subject: Re: maintenance memory vs autovac
Next
From: "Koichi Suzuki"
Date:
Subject: Re: Hot Standby (commit fest version - v5)