Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1baUAH-0004SN-10 for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Aug 2016 20:43:49 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1baUAG-0000dL-HV for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Aug 2016 20:43:48 +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.84_2) (envelope-from ) id 1baUAF-0000aq-MK for pgsql-bugs@postgresql.org; Thu, 18 Aug 2016 20:43:47 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1baUAD-000321-4q for pgsql-bugs@postgresql.org; Thu, 18 Aug 2016 20:43:46 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id BBBD4201EA; Thu, 18 Aug 2016 16:43:43 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Thu, 18 Aug 2016 16:43:43 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=STG8UJJroDoPyf+XPyYx3qAnldA=; b=Z25BY hlvvczMxdYl8EfBSS1NZ5K/eRBpibqLJyajMeMG2A5Xu57m5RDGr727cWsSrUQHD M4CwsvU73e8X7L7VWGmG+LO6EOSC6L0B/aLpmbqUn+WR83PWI4bzVkoT89vPNNKz /mzRneM6KS7Ts65yyjpuTf5qWYVdMIy6T8WiWA= X-Sasl-enc: uJz7L+f8isVKvIyxTWhhIjODNATEn8iAy5yVpNrVw9yn 1471553023 Received: from intern.anarazel.de (somacentral1.static.monkeybrains.net [162.217.75.74]) by mail.messagingengine.com (Postfix) with ESMTPA id 6EFC9CCE67; Thu, 18 Aug 2016 16:43:43 -0400 (EDT) Date: Thu, 18 Aug 2016 13:43:42 -0700 From: Andres Freund To: Tom Lane Cc: Alvaro Herrera , Oskari Saarenmaa , Peter Geoghegan , Michael Paquier , Peter Tripp , Virendra Negi , pgsql-bugs@postgresql.org Subject: Re: BUG #14150: Attempted to delete invisible tuple Message-ID: <20160818204342.ktav5k7tenerom4v@alap3.anarazel.de> References: <20160728010423.aepl2nk5e2ecmcfy@alap3.anarazel.de> <20160731223146.52zykyros7wx57t2@alap3.anarazel.de> <6e11604c-d8a1-93d3-63f2-a02c3048afce@aiven.io> <20160818000932.5ugispgqu3iw3g54@alap3.anarazel.de> <7969.1471484738@sss.pgh.pa.us> <20160818194639.e3izk4gfm2srmumm@alap3.anarazel.de> <24166.1471552719@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <24166.1471552719@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 2016-08-18 16:38:39 -0400, Tom Lane wrote: > Andres Freund writes: > > On 2016-08-17 21:45:38 -0400, Tom Lane wrote: > >> guaibasaurus thinks this test is still underdetermined. > > > The easiest solution here seems to be another expected file - playing > > around a few minutes, I couldn't see an easier solution. Better ideas? > > If you think the two outcomes are equally valid, sure. Both are valid, yes. Will do that. > You could possibly try to force a single ordering by inserting a sleep > into some step of the test --- we have some other isolation tests that > do it that way. But it's hard to predict how much sleep is enough. I don't think it's applicable here - s2/3 are woken up by the same lock release. The order in which the OS lets them run primarily determines the result visibility. A sleep wouldn't hide the difference in output order afaics. I guess we could hide the combined steps (insert & sleep) in a function, but ... Andres -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs