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 1jJqtK-0000Z5-OR for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Apr 2020 03:51:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jJqtI-0001VH-RW for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Apr 2020 03:51:40 +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 1jJqtI-0001Te-C9 for pgsql-hackers@lists.postgresql.org; Thu, 02 Apr 2020 03:51:40 +0000 Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jJqtD-0003RG-9e for pgsql-hackers@postgresql.org; Thu, 02 Apr 2020 03:51:38 +0000 Received: by mail-pj1-x1043.google.com with SMTP id fh8so997199pjb.5 for ; Wed, 01 Apr 2020 20:51:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=SrNOGwRNptWKW5pAodr4OeAwWPMWlpBUlLxIr1npQyQ=; b=CSpBwa3Q46Q43HxGLosleraWNhf+oiNRo1Z9VYvwP5NJJKypwvJ+sC85/g5R1okuA1 YcZh1tGfyLvhbehHPhmcQPLmKm80ivOhKS+XaTOPW6S9sE/DgzZCI0ITndQ7SEvcJAO/ vmx0Umm0spBgQvcCPKHj1OtTKi1DfhHX3piq4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=SrNOGwRNptWKW5pAodr4OeAwWPMWlpBUlLxIr1npQyQ=; b=OhoYFDNvHupvRHDy1ZqXX1yETdtdAfX5H8DLGpJ8BylrUY72Dd7fEn1Qi/gCNqugUS hYsRPg2g5W4O9yhII/6jmBrOHmyGYfdNM5PTexc5MoP4fkCBxm9+MTnwzKWcVHiY0LVZ RjSRfM9hrgW/0I3WwiTxa6B3HnL6CQ7KQEM5sPhahmQ2P5GmrO8i530Cpom0/C9bwCPu oBFGr/wsurXDYgcSNO9bx3rC/jK7NX5yFNG5eO6p0Kz7fj2R3W/D4FvMW6imxDZx69VT afP73kKB5SS/oPuxyzzcBlvJPDWGoFTI9ixKdzlPPlcRHQ5Q57VxXUgD3U3TMSV35zE1 +usA== X-Gm-Message-State: AGi0PuZ3OcARCSJge4zEBAub8XG+HL1E1r2EoeucBE2o044dK1UeG0F8 zIULIMWS4TtxG+9PntjFoUNUy5vFjQ26lg== X-Google-Smtp-Source: APiQypJxHYOsPnscHP1h+I9OjhRiwDjTY3FEy7ZyiijML/Kqfua45Ewl0rc7bWi+1QMbj9U67IogSQ== X-Received: by 2002:a17:90a:26e1:: with SMTP id m88mr1550719pje.60.1585799493667; Wed, 01 Apr 2020 20:51:33 -0700 (PDT) Received: from rfd.leadboat.com (108-233-125-46.lightspeed.sntcca.sbcglobal.net. [108.233.125.46]) by smtp.gmail.com with ESMTPSA id w127sm2660174pfb.70.2020.04.01.20.51.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Apr 2020 20:51:31 -0700 (PDT) Date: Wed, 1 Apr 2020 20:51:29 -0700 From: Noah Misch To: pgsql-hackers@postgresql.org Cc: Michael Paquier , Kyotaro Horiguchi , robertmhaas@gmail.com, 9erthalion6@gmail.com, andrew.dunstan@2ndquadrant.com, hlinnaka@iki.fi, Andres Freund Subject: Re: [HACKERS] WAL logging problem in 9.4.3? Message-ID: <20200402035129.GA3376861@rfd.leadboat.com> References: <20200316034647.GA1121601@rfd.leadboat.com> <20200321190127.GA1763544@rfd.leadboat.com> <20200321224920.GB1763544@rfd.leadboat.com> <20200323.172027.2270553329883636814.horikyota.ntt@gmail.com> <20200330044101.GA2324620@rfd.leadboat.com> <20200330074300.GD43995@paquier.xyz> <20200331062854.GC3354091@rfd.leadboat.com> <20200331063757.rvix7i3ttdpkod5a@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200331063757.rvix7i3ttdpkod5a@alap3.anarazel.de> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, Mar 30, 2020 at 11:37:57PM -0700, Andres Freund wrote: > On 2020-03-30 23:28:54 -0700, Noah Misch wrote: > > On Mon, Mar 30, 2020 at 04:43:00PM +0900, Michael Paquier wrote: > > > On Sun, Mar 29, 2020 at 09:41:01PM -0700, Noah Misch wrote: > > > > I think attached v41nm is ready for commit. Would anyone like to vote against > > > > back-patching this? It's hard to justify lack of back-patch for a data-loss > > > > bug, but this is atypically invasive. (I'm repeating the question, since some > > > > folks missed my 2020-02-18 question.) Otherwise, I'll push this on Saturday. > > > > > > The invasiveness of the patch is a concern. Have you considered a > > > different strategy? For example, we are soon going to be in beta for > > > 13, so you could consider committing the patch only on HEAD first. > > > If there are issues to take care of, you can then leverage the beta > > > testing to address any issues found. Finally, once some dust has > > > settled on the concept and we have gained enough confidence, we could > > > consider a back-patch. > > > > No. Does anyone favor this proposal more than back-patching normally? > > I have not reviewed the patch, so I don't have a good feeling for its > riskiness. But it does sound fairly invasive. Given that we've lived > with this issue for many years by now, and that the rate of incidents > seems to have been fairly low, I think living with the issue for a bit > longer to gain confidence might be a good choice. But I'd not push back > if you, being much more informed, think the risk/reward balance favors > immediate backpatching. I've translated the non-vote comments into estimated votes of -0.3, -0.6, -0.4, +0.5, and -0.3. Hence, I revoke the plan to back-patch.