Re: replay pause vs. standby promotion - Mailing list pgsql-hackers

From Sergei Kornilov
Subject Re: replay pause vs. standby promotion
Date
Msg-id 21707961583323254@myt4-42d4a9f8d9f5.qloud-c.yandex.net
Whole thread Raw
In response to replay pause vs. standby promotion  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Responses Re: replay pause vs. standby promotion  (Jehan-Guillaume de Rorthais <jgdr@dalibo.com>)
List pgsql-hackers
Hello

> I want to start this discussion because this is related to the patch
> (propoesd at the thread [1]) that I'm reviewing. It does that partially,
> i.e., prefers the promotion only when the pause is requested by
> recovery_target_action=pause. But I think that it's reasonable and
> more consistent to do that whether whichever the pause is requested
> by pg_wal_replay_pause() or recovery_target_action.

+1.
I'm just not sure if this is safe for replay logic, so I did not touch this behavior in my proposal. (hmm, I wanted to
mentionthis, but apparently forgot)
 

regards, Sergei



pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Minor issues in .pgpass
Next
From: David Steele
Date:
Subject: Re: Cast to uint16 in pg_checksum_page()