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 1nblhI-0007qc-J2 for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Apr 2022 16:06:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nblhH-0002qM-Ft for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Apr 2022 16:06:23 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nblhH-0002kr-72 for pgsql-hackers@lists.postgresql.org; Tue, 05 Apr 2022 16:06:23 +0000 Received: from mail.thelabyrinth.net ([45.56.70.56]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nblhB-0001d7-Ol for pgsql-hackers@lists.postgresql.org; Tue, 05 Apr 2022 16:06:21 +0000 Received: from [172.20.20.20] (c-24-126-9-50.hsd1.wv.comcast.net [24.126.9.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dsteele) by mail.thelabyrinth.net (Postfix) with ESMTPSA id 93B755465C; Tue, 5 Apr 2022 16:06:16 +0000 (UTC) Message-ID: Date: Tue, 5 Apr 2022 12:06:08 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Content-Language: en-US To: Stephen Frost Cc: Nathan Bossart , Chapman Flack , Magnus Hagander , pgsql-hackers@lists.postgresql.org References: <62293417.8070104@anastigmatix.net> <20220310000622.GA225595@nathanxps13> <622A941A.90909@anastigmatix.net> <20220311003834.GA597706@nathanxps13> <20220328203027.GK10577@tamriel.snowman.net> <20220329020948.GA311150@nathanxps13> <17837e22-9b8d-f8d7-bc8b-7d3eaee3186b@pgmasters.net> <20220404142247.GA663209@nathanxps13> <20220404154218.GA792581@nathanxps13> <4c4ae416-be44-754e-7ee0-7083c11e7cfb@pgmasters.net> <20220405152536.GT10577@tamriel.snowman.net> From: David Steele In-Reply-To: <20220405152536.GT10577@tamriel.snowman.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 4/5/22 11:25 AM, Stephen Frost wrote: > > Please find attached an updated patch + commit message. Mostly, I just > went through and did a bit more in terms of updating the documentation > and improving the comments (there were some places that were still > worrying about the chance of a 'stray' backup_label file existing, which > isn't possible any longer), along with some additional testing and > review. This is looking pretty good to me, but other thoughts are > certainly welcome. Otherwise, I'm hoping to commit this tomorrow. I have reviewed the changes and they look good. I also ran the new patch through pgbackrest regression with no issues. Regards, -- -David david@pgmasters.net