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 1lxHT4-0005JC-0q for pgsql-hackers@arkaria.postgresql.org; Sat, 26 Jun 2021 23:12:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lxHSV-0005I8-Q5 for pgsql-hackers@arkaria.postgresql.org; Sat, 26 Jun 2021 23:11:31 +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 1lxHSV-0005I0-F5 for pgsql-hackers@lists.postgresql.org; Sat, 26 Jun 2021 23:11:31 +0000 Received: from mail-il1-x12b.google.com ([2607:f8b0:4864:20::12b]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lxHSS-0002P8-M3 for pgsql-hackers@postgresql.org; Sat, 26 Jun 2021 23:11:30 +0000 Received: by mail-il1-x12b.google.com with SMTP id i13so9243846ilu.4 for ; Sat, 26 Jun 2021 16:11:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=RzuUdqKIVYFj4OEB4ecXveVj2mqgAK+UvplFtHZSfYI=; b=Cxqxq/Mo+GCGA2/iok1e4W7T3PKxIT4/xY/5+cN0AxoAWkbpkNdFTpGEKS7YrqfgNv 1hqPHJ2Iily3O54WUmCcuLyKo58FNhqxxKeyn7shDtloRbU+/GQqgp1xqRgEbW4hFpd0 cSQETFPC4kWOi/Ibdep6EzK0+ticouKXEgaU02n3PlkmDw9ldLMLNf9FySzKGPufJ9+T R67UIE+Z6Xk7X/+Cs2F5sRJFTmGEvRAMqBoWFgLZ4KeEYU4fv9KQhg5Zg8Gp5Scd+rTo GD5Di7S/neNRNs6104SewN4ICnvQ9Gd63ronENdVdikQrxnY1VW4M3pvW5W7RALUhuf3 EECQ== 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=RzuUdqKIVYFj4OEB4ecXveVj2mqgAK+UvplFtHZSfYI=; b=gNAO/m+L7VPsfWl/cq7ISozhcRovxG+SR+zDz+RSBh3wSC9/lTU/z5Dn5mUNv8W/ir MUAcR1J5w0FRgKM/Oujhc4HuyfyHez7XLu0iqdZNk5Ze0ujRV3oBOfFcJ4elABUTv3c1 1qcnqCMGspJGDIt3teLFagnBA6JLXuf2cXKuKsoJfyAMnAtYxdkiooPykNeAv9ZDn9Dr IZzhTJNDJ1GZnk5G8ps4CZjJZOI0Kleh5VtdmhOKS0Y6cCmSr0oKUWX+Juy7K57LuSHE ZAo5Stpt0rCeZgdFSmMP+J4Vox3+qKhr4UTBXEBmiMCtfrlmHyGfMpwAHrzvfLK1iovn rVyw== X-Gm-Message-State: AOAM532QgEj0sZ/01P2KdcK7uqz/trhZgs+2MqOD52LU4UeZpVj37STi EI35an+VnsXAdyRHR2ddvbiYgg== X-Google-Smtp-Source: ABdhPJxF23IVAe7agjq9Qc4uslqfvxKOZzihqLnvn5vzonpFK/iXGIoegUmgOaaDGajgYWkCladJOg== X-Received: by 2002:a92:cacf:: with SMTP id m15mr12618964ilq.14.1624749087625; Sat, 26 Jun 2021 16:11:27 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id 186sm5703483ioc.3.2021.06.26.16.11.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 Jun 2021 16:11:27 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 3BD8B800C62; Sat, 26 Jun 2021 18:11:26 -0500 (CDT) Date: Sat, 26 Jun 2021 18:11:26 -0500 From: Justin Pryzby To: Michael Paquier Cc: Dilip Kumar , Andrey Borodin , pgsql-hackers@postgresql.org, Thomas Munro Subject: Re: Different compression methods for FPI Message-ID: <20210626231126.GR29179@telsasoft.com> References: <20210315003135.GL29463@telsasoft.com> <20210315180918.GW29463@telsasoft.com> <20210321193004.GA4203@telsasoft.com> <20210519030618.GS373@telsasoft.com> <20210525044444.GV3676@telsasoft.com> <20210622031358.GF29179@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Jun 22, 2021 at 12:53:46PM +0900, Michael Paquier wrote: > > So the patches that you say are unrelated still seem to me to be a > > prerequisite . > > I may be missing something, of course, but I still don't see why > that's necessary? We don't get any test failures on HEAD by switching > wal_compression to on, no? That's easy enough to test with a two-line > change that changes the default. Curious. I found that before a4d75c86bf, there was an issue without the "extra" patches. |commit a4d75c86bf15220df22de0a92c819ecef9db3849 |Author: Tomas Vondra |Date: Fri Mar 26 23:22:01 2021 +0100 | | Extended statistics on expressions I have no idea why that patch changes the behavior, but before a4d7, this patch series failed like: |$ time time make -C src/test/recovery check ... |# Failed test 'new xid after restart is greater' |# at t/011_crash_recovery.pl line 53. |# '539' |# > |# '539' | |# Failed test 'xid is aborted after crash' |# at t/011_crash_recovery.pl line 57. |# got: 'committed' |# expected: 'aborted' |# Looks like you failed 2 tests of 3. |t/011_crash_recovery.pl .............. Dubious, test returned 2 (wstat 512, 0x200) |Failed 2/3 subtests I checked that my most recent WAL compression patch applied on top of a4d75c86bf works ok without the "extra" patches but fails when applied to a4d75c86bf~1. I think Andrey has been saying that since this already fails with PGLZ wal compression, we could consider this to be a pre-existing problem. I'm not thrilled with that interpretation, but it's not wrong. -- Justin