Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vXHGg-006Hhm-1z for pgpool-hackers@arkaria.postgresql.org; Sun, 21 Dec 2025 11:06:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vXHGf-00BkdK-0E for pgpool-hackers@arkaria.postgresql.org; Sun, 21 Dec 2025 11:06:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vXHGe-00BkdC-2D for pgpool-hackers@lists.postgresql.org; Sun, 21 Dec 2025 11:06:29 +0000 Received: from mail-yw1-x1129.google.com ([2607:f8b0:4864:20::1129]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vXHGb-001txA-2i for pgpool-hackers@lists.postgresql.org; Sun, 21 Dec 2025 11:06:28 +0000 Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-78fc7892214so5847027b3.0 for ; Sun, 21 Dec 2025 03:06:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tailorbrands.com; s=google; t=1766315183; x=1766919983; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=EbBCIgyt9EdonjBOY98KcnqUmwsEAldml2D8A3E1qkU=; b=JasjcB7UlszToZm+egHQ4YXBwgXiKwf7hIfnOTNJLOAry28SUUaGEbVHNwboSUjQeo N+uZz3rSxltw0VL1cA4FfvFXo97WWEvz7K2W4zVYVFJMFY5gCQNZrBcw8hgvo0gu/C0k QfDQEsuJkBCmYqf29L3I9eIdc451PlTe8DsBfOZH+oCEq2chaY7/bbPJ8QU4G1kae/56 IUCgPWoSR+W1/xcpbxdHAPddqiYvCBBbft2Muq1fIphREXHcpHIXJVqYS+z9AmgX6HZd fKvaQrQAtSX+pUHMO5oTmFRC3/B1UUsRsHQ5XM2OnB0ozYy2o71/LkyiaFFm2Mf1MBEW Jm1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766315183; x=1766919983; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=EbBCIgyt9EdonjBOY98KcnqUmwsEAldml2D8A3E1qkU=; b=b4o5vmEuDhgFZlnFiQoB+q7h2CXWhGSYOB+r+xtoouRiH4Yd4idOppNPEO5dzs8COz aJA6P7meNcy/I0B9z4FNJt52XX5npUnZYdX6HFUSBJNTvPOz/iR3jIN2T+K1kshZGwlz 9oHAI7jLmcXOnKRIHAofovRNi9uQbb48vPCsnwvuee1U5/rGXbKdI7smpt3l2oCSHLhs L4fenNKriGuYUYpugqhYLHLlBXuXrU176TkKM5uSi/Zskj9L6g7OeVf+0NSvJqBXrrB5 T+DCSoeimd+F0qipJrUuKUQm4wwK8Gudq2DFSCYsP50FmYqjA91o0CM/w0BBTS0AM6xR 8y0Q== X-Gm-Message-State: AOJu0YyJ/Sho10QT0cAwhSy0BvQYCnYX9UYqbiZbVvIbqZ1TdCWrn0kU acNFgYPAnB5Om2VjumfyX8ZxnWok28zJC9bbpIvC0Z2YgXB0EXAXvBp0nf2WLjYEE1xa0nqaTfK HKJIeVKABrUsGud9/UwuhtVIL34J6L4z5XLgRmZ4eP1Gl6iMV6JaPyqf+mA== X-Gm-Gg: AY/fxX7//ZZHb3tpM7ha51epBWzsOGncZYrwxZKW7/eO+Lzy5AV12ODGZ7J2uzdBP7+ w4tbzcMQRFmSrfJ8qVFXL1q+Nc4Pir/nrUYy0S0xeBhnAELWM+aYxtUIpB9q86zorNXErmcmhb/ 5WFeM1qQ6SCyo6ZFXroS4mdrlp8+TWjykeM3g7Gu+MOeSL0aW/mVLxOdQw2j4vDn7y5xM00vO3I f5W8pcQFxH1LVYlHvyvknmNBdhYDvW9pvlKNMe9/RII9CWp8tdSVu0ziU6TToOA2gxTHWzaTWmk tSFWBgLrnKf3ZKlpkDpnl/ffQSFu/1KLN1v/Rqerx2FFU/455ZcKMc+GlfMq71Rkectb X-Google-Smtp-Source: AGHT+IHrHNayDFBWYSeVor1mu+jSjnyBz7nq036wWBuF3qUnl6nuR8yRWV0J0IpFCYdSHjcf/8JXQNtrGEnox412Ezw= X-Received: by 2002:a05:690c:6e06:b0:786:896d:8825 with SMTP id 00721157ae682-78fb4045336mr66531707b3.49.1766315182611; Sun, 21 Dec 2025 03:06:22 -0800 (PST) MIME-Version: 1.0 References: <20251120.080930.16399896794232732.ishii@postgresql.org> <20251124.164130.561276744202086083.ishii@postgresql.org> In-Reply-To: <20251124.164130.561276744202086083.ishii@postgresql.org> From: Nadav Shatz Date: Sun, 21 Dec 2025 13:06:10 +0200 X-Gm-Features: AQt7F2oi2-QYXcHGqM7APIjprqBinLylIHhNF_kffbu3VO6joCG0YnBJiFTbrc8 Message-ID: Subject: Re: Proposal: recent access based routing for primary-replica setups To: Tatsuo Ishii Cc: pgpool-hackers@lists.postgresql.org Content-Type: multipart/mixed; boundary="00000000000005ddad0646744dfd" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000005ddad0646744dfd Content-Type: multipart/alternative; boundary="00000000000005ddac0646744dfb" --00000000000005ddac0646744dfb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I think everything is passing now. new version attached. On Mon, Nov 24, 2025 at 9:41=E2=80=AFAM Tatsuo Ishii = wrote: > Thank you for updating the patch! This time the patch applies without > any issue and compiles fine. Unfortunately regression test failed. > > testing 041.external_replication_delay...failed. > > From the regression log, it seems Test7 failed. > > -------------------------------------------------------------------------= ----- > =3D=3D=3D Test7: Command timeout handling =3D=3D=3D > waiting for server to start....411181 2025-11-24 16:31:05.244 JST LOG: > redirecting log output to logging collector process > 411181 2025-11-24 16:31:05.244 JST HINT: Future log output will appear i= n > directory "log". > done > server started > waiting for server to start....411196 2025-11-24 16:31:05.352 JST LOG: > redirecting log output to logging collector process > 411196 2025-11-24 16:31:05.352 JST HINT: Future log output will appear i= n > directory "log". > done > server started > waiting for server to start....411213 2025-11-24 16:31:05.461 JST LOG: > redirecting log output to logging collector process > 411213 2025-11-24 16:31:05.461 JST HINT: Future log output will appear i= n > directory "log". > done > server started > Waiting for command timeout... > fail: command timeout not detected > > -------------------------------------------------------------------------= ----- > > Attached is the pgpool.log. If you need more info, please let me know. > > Best regards, > -- > Tatsuo Ishii > SRA OSS K.K. > English: http://www.sraoss.co.jp/index_en/ > Japanese:http://www.sraoss.co.jp > > > > Hi Tatsuo, > > > > Sorry again, this was due to the separation of 2 patches and i only sen= t > > the one. > > > > I've merged it into 1 commit and 1 patch and rebased over master to avo= id > > these issues moving forward. > > > > PFA latest version > > > > On Thu, Nov 20, 2025 at 1:09=E2=80=AFAM Tatsuo Ishii > wrote: > > > >> Hi Nadav, > >> > >> Thank you for new patch. > >> Unfortunately the patch did not apply to current master. > >> > >> $ git apply > >> ~/0001-Fix-multiple-issues-in-external-replication-delay-fe.patch > >> error: patch failed: src/streaming_replication/pool_worker_child.c:694 > >> error: src/streaming_replication/pool_worker_child.c: patch does not > apply > >> > >> Maybe the patch is on top of your previous patch? > >> > >> Also I suggest to use "-v" option of "git format-patch" to add the > >> patch version number so that we can easily know which patch is the > >> latest. > >> > >> Best regards, > >> -- > >> Tatsuo Ishii > >> SRA OSS K.K. > >> English: http://www.sraoss.co.jp/index_en/ > >> Japanese:http://www.sraoss.co.jp > >> > >> > Hi Tatsuo, > >> > > >> > Please see attached an updated version. > >> > > >> > thank you > >> > > >> > On Fri, Nov 7, 2025 at 2:07=E2=80=AFAM Tatsuo Ishii > >> wrote: > >> > > >> >> > Sorry for that - thanks for the patch. > >> >> > > >> >> > Please find attached a new version > >> >> > >> >> Thanks for the new version. Unfortunately this time regression test > >> >> fails at: > >> >> > >> >> > Waiting for command timeout... > >> >> > fail: command timeout not detected > >> >> > >> >> Attached is the pgpool.log. > >> >> > >> >> Best regards, > >> >> -- > >> >> Tatsuo Ishii > >> >> SRA OSS K.K. > >> >> English: http://www.sraoss.co.jp/index_en/ > >> >> Japanese:http://www.sraoss.co.jp > >> >> > >> >> > On Mon, Nov 3, 2025 at 9:05=E2=80=AFAM Tatsuo Ishii > >> >> wrote: > >> >> > > >> >> >> > thanks and sorry for the issues, please find attached updated > >> version. > >> >> >> > >> >> >> No problem. > >> >> >> > >> >> >> This time the patch applies fine, no compiler warnings. However= , > >> >> >> regression test did not passed here (on Ubuntu 24 LTS if this > >> >> >> matters). So I looked into > >> >> >> src/test/regression/tests/041.external_replication_delay/test.sh= a > >> >> >> little bit and apply attached patch (test.sh.patch). It moved > forward > >> >> >> partially but failed at: > >> >> >> > >> >> >> fail: command execution failure not detected > >> >> >> > >> >> >> Please find attached > >> >> >> > >> >> > >> > src/test/regression/tests/041.external_replication_delay/testdir/pgpool.l= og > >> >> >> and src/test/regression/log/041.external_replication_delay. > >> >> >> > >> >> >> Best regards, > >> >> >> -- > >> >> >> Tatsuo Ishii > >> >> >> SRA OSS K.K. > >> >> >> English: http://www.sraoss.co.jp/index_en/ > >> >> >> Japanese:http://www.sraoss.co.jp > >> >> >> > >> >> > > >> >> > > >> >> > -- > >> >> > Nadav Shatz > >> >> > Tailor Brands | CTO > >> >> > >> > > >> > > >> > -- > >> > Nadav Shatz > >> > Tailor Brands | CTO > >> > > > > > > -- > > Nadav Shatz > > Tailor Brands | CTO > --=20 Nadav Shatz Tailor Brands | CTO --00000000000005ddac0646744dfb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I think everything=C2=A0is passing now. new version attach= ed.

On Mon, Nov 24, 2025 at 9:41=E2=80=AFAM Tatsuo Ish= ii <ishii@postgresql.org>= wrote:
Thank yo= u for updating the patch! This time the patch applies without
any issue and compiles fine. Unfortunately regression test failed.

testing 041.external_replication_delay...failed.