[pgpool-hackers: 3804] Re: [pgpool-committers: 7084] pgpool: Fix relcache query sometimes sent to other than primary.

Tatsuo Ishii ishii at sraoss.co.jp
Mon Sep 7 08:28:43 JST 2020


Hi,

I have fixed a nasty bug in handling relcache.  I thought that relcache
queries are always sent to the primary server in streaming replication
mode but actually they were not. So I fixed it and pushed to from
master to 3.5 stable branches.

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp

From: Tatsuo Ishii <ishii at sraoss.co.jp>
Subject: [pgpool-committers: 7084] pgpool: Fix relcache query sometimes sent to other than primary.
Date: Sun, 06 Sep 2020 13:22:18 +0000
Message-ID: <E1kEucc-0001zp-2C at gothos.postgresql.org>

> Fix relcache query sometimes sent to other than primary.
> 
> In streaming replication mode, relcache queries are supposed to be
> sent to the primary node.  But actually they were not sent the primary
> node if primary node was not the master node. Typically this could
> happen when the primary is not node 0.
> 
> Branch
> ------
> master
> 
> Details
> -------
> https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=6197ffeca7a68c3c3538c4ab48169ff91b46e6c5
> 
> Modified Files
> --------------
> src/utils/pool_relcache.c | 12 ++++++++++--
> 1 file changed, 10 insertions(+), 2 deletions(-)
> 


More information about the pgpool-hackers mailing list