Re: An example of bugs for Hot Standby - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: An example of bugs for Hot Standby
Date
Msg-id 1264065087.4043.6494.camel@ebony
Whole thread Raw
In response to Re: An example of bugs for Hot Standby  (Hiroyuki Yamada <yamada@kokolink.net>)
List pgsql-hackers
On Thu, 2010-01-21 at 18:01 +0900, Hiroyuki Yamada wrote:

> I think the patch has two problems.
> 
>  * disable_standby_sig_alarm() does not clear standby_timeout_active flag
>    when it succeeds in disabling the alarm.

Ah, thanks.

>  * Assertion check in HoldingBufferPinThatDelaysRecovery() can fail
>    with following scenario.

Agreed. Will remove Assert() because of race conditions.

Thanks,

-- Simon Riggs           www.2ndQuadrant.com



pgsql-hackers by date:

Previous
From: Hiroyuki Yamada
Date:
Subject: Re: An example of bugs for Hot Standby
Next
From: Joachim Wieland
Date:
Subject: Re: Listen / Notify - what to do when the queue is full