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 1nbpRg-0007v4-2Y for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Apr 2022 20:06:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nbpRd-0006FC-9e for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Apr 2022 20:06:29 +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 1nbpRc-0006F3-UH for pgsql-hackers@lists.postgresql.org; Tue, 05 Apr 2022 20:06:29 +0000 Received: from mail-io1-xd2f.google.com ([2607:f8b0:4864:20::d2f]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nbpRa-0003dl-Ca for pgsql-hackers@lists.postgresql.org; Tue, 05 Apr 2022 20:06:27 +0000 Received: by mail-io1-xd2f.google.com with SMTP id 9so502630iou.5 for ; Tue, 05 Apr 2022 13:06:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=BMwTUrR8+4sJFW13/k7162KFq9hVQif5tT9BSKbpX3k=; b=aiApayuq7FTjqnaAoxUPVp0AxIUbuo5P04agE83BxBEljINSzmvtTMw+2MXDq6sgbB aVY3y/vXV5S8I6q2v8ohKbSwYBwkak7It3iX/N8AOV04Cq2ui563V4dEZifxTVLmjxKb ydy9mp7ibdNtKJ23iLepYSRlXccCQINfXffnbifnULq5Aj/oNvtooAcc1KDp/7a4bys9 VB7z0z+J2hC6sPBEUGgfubPqVSwrb05WV9vSu7O0Yr799evUU371q3Gq45YA1T5BZPqs mlu8OVD47GKAYlN/8Ah7JTG+Y4oxF8e0kO3vGmHNkPhXUX6yn26GG5ty23q9RQk8wzot DmhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=BMwTUrR8+4sJFW13/k7162KFq9hVQif5tT9BSKbpX3k=; b=4nQC/YoxKAK5k5htZepWu2fCYjFMmuTYnCdhvVQXGcXhAdrmm/kljloZIttn++qP3X tCo+PjozstnIE/PWUIoM5wg4GXgjA7Mr4HSlKDoOvo0Ci5y1Ca425OT3u/O4JSwq8Mtr /6XbkBriLfVt9N89g/6l9dhn4xnqMECd/jCHAah0qdka/yQCxomRM3MjWmup6fBlrBM1 Edl+mFsmimxxj7Nd41678dakbYKQK5arTIcNKusDei6yxtTtxkFv0ZeQbM69eDNr1OJf 9LKlvnZZvenFGSb6QOdQCFqU579WkwbRMcmkMaS9wwriiVf90qb/gVhgiAS3JepkM0Hp 5/6A== X-Gm-Message-State: AOAM533W0gerwbptsYhm0d/texfr9Cj62gF/fqPFtlfEwfBJZqnqYzKi bFj9BB/wwpBRWNsskoTJeXM= X-Google-Smtp-Source: ABdhPJy2HMzUMpAa8+bGJDUlrjHJQqt0WH3noXHTUvSJY6aeSkGYaZgLx2q3KmR1Xga1GckElyJ8ag== X-Received: by 2002:a05:6638:2105:b0:323:68db:2e4e with SMTP id n5-20020a056638210500b0032368db2e4emr2992076jaj.234.1649189184964; Tue, 05 Apr 2022 13:06:24 -0700 (PDT) Received: from nathanxps13 ([2600:1700:48f8:340f:300f:edd8:d39b:3870]) by smtp.gmail.com with ESMTPSA id o14-20020a056e02114e00b002ca529040f6sm2392497ill.77.2022.04.05.13.06.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 13:06:22 -0700 (PDT) Date: Tue, 5 Apr 2022 13:06:17 -0700 From: Nathan Bossart To: Stephen Frost Cc: David Steele , Chapman Flack , Magnus Hagander , pgsql-hackers@lists.postgresql.org Subject: Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Message-ID: <20220405200617.GA1141296@nathanxps13> References: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220405152536.GT10577@tamriel.snowman.net> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Apr 05, 2022 at 11:25:36AM -0400, 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. LGTM! -- Nathan Bossart Amazon Web Services: https://aws.amazon.com