Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxdlQ-0005F3-AU for pgsql-hackers@arkaria.postgresql.org; Wed, 05 Sep 2018 19:46:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fxdlN-0005NW-O9 for pgsql-hackers@arkaria.postgresql.org; Wed, 05 Sep 2018 19:46:53 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxdlN-0005NO-DU for pgsql-hackers@lists.postgresql.org; Wed, 05 Sep 2018 19:46:53 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxdlK-0003cK-V3 for pgsql-hackers@lists.postgresql.org; Wed, 05 Sep 2018 19:46:52 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w85Jkjpp014221; Wed, 5 Sep 2018 15:46:45 -0400 From: Tom Lane To: Andres Freund cc: Tomas Vondra , Peter Geoghegan , PostgreSQL Hackers Subject: Re: buildfarm: could not read block 3 in file "base/16384/2662": read only 0 of 8192 bytes In-reply-to: <30649.1535813665@sss.pgh.pa.us> References: <20180828075213.yqyl3w2gpd5heopd@alap3.anarazel.de> <20180829025658.brk3hfdczo3f73al@alap3.anarazel.de> <6970.1535512705@sss.pgh.pa.us> <20180829032714.6yu3bxdywcvyj2li@alap3.anarazel.de> <20180829032908.o46wdjmti6c6dfep@alap3.anarazel.de> <20180829083730.n645apqhb2gyih3g@alap3.anarazel.de> <17825.1535556627@sss.pgh.pa.us> <25024.1535579899@sss.pgh.pa.us> <20180831221331.3l22nwxrokqeujav@alap3.anarazel.de> <14904.1535759623@sss.pgh.pa.us> <20180901002101.ph6cngswhqfmpaeh@alap3.anarazel.de> <30649.1535813665@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Sat, 01 Sep 2018 10:54:25 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <14219.1536176805.1@sss.pgh.pa.us> Date: Wed, 05 Sep 2018 15:46:45 -0400 Message-ID: <14220.1536176805@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I wrote: > Andres Freund writes: >> One concern I have with your approach is that it isn't particularly >> bullet-proof for cases where the rebuild is triggered by something that >> doesn't hold a conflicting lock. > Wouldn't that be a bug in the something-else? So where are we on this? Should I proceed with my patch, or are we going to do further investigation? Does anyone want to do an actual patch review? I think it's important to have some fix in place in time for the next 11beta release, so time grows short ... regards, tom lane