Re: How should the waiting backends behave in sync rep?

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Simon Riggs <simon(at)2ndquadrant(dot)com>
Subject: Re: How should the waiting backends behave in sync rep?
Date: 2011-03-16 07:36:28
Message-ID: AANLkTinS_xHoModBZYWkfGwzxVCjkweLMx27nj=wMEX2@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Mar 12, 2011 at 3:12 AM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> There's a comment that looks related to this issue in syncrep.c.  It reads:
>
>                /*
>                 * We don't receive SIGHUPs at this point, so resetting
>                 * synchronous_standby_names has no effect on waiters.
>                 */
>
> It's unclear to me what this actually means.  Is there some reason we
> CAN'T receive SIGHUPs at that point, or have we just chosen not to
> (for unexplained reasons)?

Not sure. Simon?

It seems harmless to receive SIGHUP at that point.

Regards,

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2011-03-16 07:49:29 Re: Replication server timeout patch
Previous Message Fujii Masao 2011-03-16 07:29:50 Re: Re: [COMMITTERS] pgsql: Basic Recovery Control functions for use in Hot Standby. Pause,