Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pCxS1-0002bS-2e for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Jan 2023 06:40:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pCxRz-0004Xt-Mj for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Jan 2023 06:40:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pCxRz-0004XZ-Bn for pgsql-hackers@lists.postgresql.org; Wed, 04 Jan 2023 06:40:35 +0000 Received: from mail-oa1-x33.google.com ([2001:4860:4864:20::33]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pCxRw-00052W-Pi for pgsql-hackers@lists.postgresql.org; Wed, 04 Jan 2023 06:40:34 +0000 Received: by mail-oa1-x33.google.com with SMTP id 586e51a60fabf-1441d7d40c6so39107401fac.8 for ; Tue, 03 Jan 2023 22:40:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=gtIJVyR+oJoTBAl/FqKjg4Km2FminS41RemtSYzmIH0=; b=aHvGIjBDR3sBtinxuW4nbG2VMamkvXUltfWmEFNH7MwoaxXta7KhCmJZGxMEmUQHQ2 uJJVVfyrb7KqDETJoojxiTGQxehmSHjjI8PORCmszUL3V4Ftg6ECfMgEASzOpDjM5w0F z/W9XTep+QxX2zhaqGfPV0uBQVPP36i57nrFogfIrP5MF6CDTrfoCtu/a24/DL3wxi2g h3wvef+EYyGPIwzjtMLUVeZqmZ6mJddCVSf0x/yv/v1A4By8KCTpClKPn8/B78tvH2Wp B8KMzpMkhDKPqQxL5PlRQAbVZs7KgXBFQZA2GCJ+CjE3eKMfMk8VLPWftDZn4ZH2v4qs 5Wbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gtIJVyR+oJoTBAl/FqKjg4Km2FminS41RemtSYzmIH0=; b=UUbIVePHrtv5Qb5kr69ngOpwAhYAWleHs73jZMuTIAw3WhtiIMB5sBrSRKGn+Qzj8M qfSSnGxHeuMiaXjk1RoS0THNAfy2FRKidCy0of0EwKVRcpj7n1WI4fUwzwKjy2gSkDxK oARxq8dGT3H3atIZYs2U1t6w5vVyxpKI4kbZJgKcbLUZYm66C68CkwPFUmm7SiAFD2jR VSFRDz0xLhK5GPrmjkqTx2ppGO3irR+7qUIPIaVOHrsERO8gN8T3je7t9FbT4UJ1uMnO Muyd+Ld7sdyoD0RXmPA/W1NdTGy7QMTeGLuBX8xVaZPj3NE7HFYWDI08VAG7rFKvzVEH QeYA== X-Gm-Message-State: AFqh2krKXn1j3fikNLHJkKrfdYcf5BWJFrD6daO1JRyGvhcxSeXBsPhm VDtkwKpVt/Y05RWmH5zRwD1kGH/NemFPV/01Pbs= X-Google-Smtp-Source: AMrXdXtfvVb9cHiKBij6fTfAv9gIBF+eqLZYRxVH8U4lE/w5HFa7XU5OjQ7ZAqRRei4SORdkWG7U2LljdoKLjddHoB8= X-Received: by 2002:a05:6870:5aac:b0:14f:f457:2a6d with SMTP id dt44-20020a0568705aac00b0014ff4572a6dmr2134423oab.278.1672814430509; Tue, 03 Jan 2023 22:40:30 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Masahiko Sawada Date: Wed, 4 Jan 2023 15:39:54 +0900 Message-ID: Subject: Re: Perform streaming logical transactions by background workers and parallel apply To: "wangw.fnst@fujitsu.com" Cc: Amit Kapila , "houzj.fnst@fujitsu.com" , Peter Smith , Dilip Kumar , "shiy.fnst@fujitsu.com" , PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Jan 4, 2023 at 2:31 PM Masahiko Sawada wrote: > > On Tue, Jan 3, 2023 at 2:40 PM wangw.fnst@fujitsu.com > wrote: > > > > On Mon, Jan 2, 2023 at 18:54 PM Amit Kapila wrote: > > > On Fri, Dec 30, 2022 at 3:55 PM wangw.fnst@fujitsu.com > > > wrote: > > > > > > > > I've checked it and it looks good to me. > > > > Rebased the other patches and ran the pgident for the patch set. > > > > > > > > Attach the new patch set. > > > > > > > > > > I have added a few DEBUG messages and changed a few comments in the > > > 0001 patch. With that v71-0001* looks good to me and I'll commit it > > > later this week (by Thursday or Friday) unless there are any major > > > comments or objections. > > > > Thanks for your improvement. > > > > Rebased the patch set because the new change in HEAD (c8e1ba7). > > Attach the new patch set. > > There are some unused parameters in v72 patches: > > --- > +/* > + * Make sure the leader apply worker tries to read from our error > queue one more > + * time. This guards against the case where we exit uncleanly without sending > + * an ErrorResponse, for example because some code calls proc_exit directly. > + */ > +static void > +pa_shutdown(int code, Datum arg) > > Similarly, we don't use 'code' here. This is necessary. Sorry for the noise. Regards, -- Masahiko Sawada Amazon Web Services: https://aws.amazon.com