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 1lMBt6-00041p-9H for pgsql-hackers@arkaria.postgresql.org; Tue, 16 Mar 2021 15:45:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lMBt5-0003RX-2a for pgsql-hackers@arkaria.postgresql.org; Tue, 16 Mar 2021 15:45:39 +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 1lMBt4-0003RQ-SI for pgsql-hackers@lists.postgresql.org; Tue, 16 Mar 2021 15:45:38 +0000 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lMBsx-0002lf-H7 for pgsql-hackers@postgresql.org; Tue, 16 Mar 2021 15:45:37 +0000 Received: by mail-pj1-x1036.google.com with SMTP id gb6so10842364pjb.0 for ; Tue, 16 Mar 2021 08:45:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=XjmO3Rrw88MZfYdHQjKGT+c57CiX8uoU4SxjQLwYfRs=; b=w/kd26Y529Xvs+tZ4PIMaI07fBW6IDV0Ekk7Kgz2OHIFK7N8OSrEu2oLe6O/5ecy1Z x99g482K1g3zxb+FfkxxwaEFMl2/jzsREUf841pPMsn5tzyOqXyFtsQDkaApsGYFxFiM ap1mVuLp0EcAVllRj8B0sTr2ZGX8c4Oah5vQBqaRS8dCEmssG/a95Ghz6gtELPKHBYCb xZamAP2gadfhOb6p0JPdecvWLsA1Nf7p4fFkFUurPrjyJrU1iantc5D99NlKTENsEAdE 89/NNTCEsSPoJdeMHTaz3JD26e1m7qBENi35BS4SXcmh9hEnfH7r7mTEcKXmAWldybwF adsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=XjmO3Rrw88MZfYdHQjKGT+c57CiX8uoU4SxjQLwYfRs=; b=hVEVY38Ifk2+y4tSw8Pl6+VS98YXtma0qSi1FesZBZHZrbxMDVVbjbMJ1MwDhMtQz3 0orY7J3Z+9zvZmSrzkgme0fYjQLgCikQNTgkTMQTYpLFoM3KnJvDIYQEgQMHxkW31mIp JFVHiXm0buw7i4UQb3RTa08fXpo5APF9NodtLl22nsPWuFjPXGGbCv2EVeRvjFQWC1XV /jeFWZG0DT+HF9/G2NFZdgpoe5NEqH9i4GcttGJ5fgzWeXjqZCpJawgWtb32a6ZToEIi tVe6/MlkqYQDppm2BOoQbvKlqeL0/WPSVNTXxZt2ucL+pYK7wfqtj1cZMwzk9nGj/hoJ v58w== X-Gm-Message-State: AOAM533X4ioYqqz3a6Sqvdmy4hQXTFgi//GE1ZXwHZvQKXrYwRAj463L +kzXaxv/OieJBkB1qgNRVssrYQECyVUL2mxAKvEG2ywFFGRZNOWc7RRqF1mA3iIpyyHkc43PM2p 0GF/XVJzgJs3cmy+EO7PTVAl4bWAFDaiHjf5BP1qTHSZt068tGhZyUI3xsTeclxGU5Qe+UifDZT cWe5OKXoMS9wvWTZihW6DnZXAHz+nA15ewpH6O X-Google-Smtp-Source: ABdhPJxdaAwtY0wtwTTkJIWDsxVqYLQIUK53ESHwAAtc34zJA/J3yZDBoaBs+aFgjkR+Sermh1Y3DQ== X-Received: by 2002:a17:902:d487:b029:e4:a950:6df2 with SMTP id c7-20020a170902d487b02900e4a9506df2mr16600448plg.79.1615909529834; Tue, 16 Mar 2021 08:45:29 -0700 (PDT) Received: from laptop280-ma-us.hitronhub.home (24-113-193-150.wavecable.com. [24.113.193.150]) by smtp.gmail.com with ESMTPSA id gb1sm3359818pjb.21.2021.03.16.08.45.28 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Mar 2021 08:45:29 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: pg_amcheck contrib application From: Mark Dilger In-Reply-To: <20210316060913.GA3323238@rfd.leadboat.com> Date: Tue, 16 Mar 2021 08:45:28 -0700 Cc: Tom Lane , Robert Haas , Peter Geoghegan , Thomas Munro , "Andrey M. Borodin" , Stephen Frost , Michael Paquier , Amul Sul , Dilip Kumar , Andres Freund , PostgreSQL-development Content-Transfer-Encoding: quoted-printable Message-Id: <7BCE9084-9381-471F-90F2-FAD99B7FE3DB@enterprisedb.com> References: <9E76E46A-48B2-4869-BD0C-422204C1F767@enterprisedb.com> <20210313184612.GA3195145@rfd.leadboat.com> <930621E5-5D10-456D-8CE4-CF629A6C4669@enterprisedb.com> <20210313191841.GB3195145@rfd.leadboat.com> <3012106.1615827854@sss.pgh.pa.us> <3053552.1615834640@sss.pgh.pa.us> <20210316060913.GA3323238@rfd.leadboat.com> To: Noah Misch X-Mailer: Apple Mail (2.3608.120.23.2.1) X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Mar 15, 2021, at 11:09 PM, Noah Misch wrote: >=20 >> Not sure that I believe the theory that this is from bad luck of >> concurrent autovacuum timing, though. >=20 > With autovacuum_naptime=3D1s, on hornet, the failure reproduced twice = in twelve > runs. With = v6-0001-Turning-off-autovacuum-during-corruption-tests.patch > applied, 196 runs all succeeded. >=20 >> The fact that we're seeing >> this on just those two animals suggests strongly to me that it's >> architecture-correlated, instead. >=20 > That is possible. I think autovacuum simply triggers the bug, and is not the cause of the = bug. If I turn autovacuum off and instead do an ANALYZE in each test = database rather than performing the corruptions, I get reports about = problems in pg_statistic. This is on my mac laptop. This rules out the = theory that autovacuum is propogating corruptions into pg_statistic, and = also the theory that it is architecture dependent. I'll investigate further. =E2=80=94 Mark Dilger EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company