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 1lTJgW-0006st-9b for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Apr 2021 07:30:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lTJgU-0004Jd-HU for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Apr 2021 07:30:06 +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 1lTJgU-0004JW-9K for pgsql-hackers@lists.postgresql.org; Mon, 05 Apr 2021 07:30:06 +0000 Received: from mail.postgrespro.ru ([93.174.131.139]) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lTJgR-0008Od-Km for pgsql-hackers@postgresql.org; Mon, 05 Apr 2021 07:30:05 +0000 Received: from mail.postgrespro.ru (cyclops.postgrespro.ru [93.174.131.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mail.postgrespro.ru (Postfix) with ESMTPSA id E9DDD21C2C57; Mon, 5 Apr 2021 10:30:01 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1617607801; bh=uYi6BdO1XJvGdELZ8SvHOyrIsCJbVp7Ep5nv7dqooCk=; h=Date:From:To:Subject:In-Reply-To:References; b=AqEQPRYBpCtREgFTetEOCL8poYqU90PdX0Vs70uIHtmfpFQfFvWAECnAf1jLOAc2S dj/Ur3nioHkFz3jUNLetlRIyD9KKQ3ULL67V+VjqYaJAdlzJQeqwVvl2nWU4cJylGt LRrSbCPWkgkBK0zhdHB9dvUlncA1vGz9EVUbN7Ck= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Mon, 05 Apr 2021 10:30:01 +0300 From: Maxim Orlov To: Fujii Masao , Pgsql Hackers Subject: Re: Failed assertion on standby while shutdown In-Reply-To: References: <161712624344.1180.1891286647778019120.pgcf@coridan.postgresql.org> User-Agent: Roundcube Webmail/1.4.0 Message-ID: <3c454bbe91f4ee67d9fc078926a72dc1@postgrespro.ru> X-Sender: m.orlov@postgrespro.ru List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-04-01 15:02, Fujii Masao wrote: > On 2021/03/31 19:51, Maxim Orlov wrote: >> On 2021-03-30 20:44, Maxim Orlov wrote: >>> The following review has been posted through the commitfest >>> application: >>> make installcheck-world:  tested, passed >>> Implements feature:       tested, passed >>> Spec compliant:           not tested >>> Documentation:            not tested >>> >>> All the tests passed successfully. >>> >>> The new status of this patch is: Ready for Committer >> >> The patch is good. One note, should we put a comment about >> ShutdownRecoveryTransactionEnvironment not reentrant behaviour? Or >> maybe rename it to ShutdownRecoveryTransactionEnvironmentOnce? > > +1 to add more comments into ShutdownRecoveryTransactionEnvironment(). > I did that. What about the attached patch? > > Regards, Well done! In my view is just what it's needed. --- Best regards, Maxim Orlov.