Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1FPx-0003hJ-11 for pgsql-hackers@arkaria.postgresql.org; Sun, 08 Oct 2017 17:31:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e1FPw-0007iS-Eh for pgsql-hackers@arkaria.postgresql.org; Sun, 08 Oct 2017 17:31:08 +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 1e1FON-0004wP-3K for pgsql-hackers@postgresql.org; Sun, 08 Oct 2017 17:29:31 +0000 Received: from mail-oi0-x235.google.com ([2607:f8b0:4003:c06::235]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1e1FOK-0005Db-7k for pgsql-hackers@postgresql.org; Sun, 08 Oct 2017 17:29:29 +0000 Received: by mail-oi0-x235.google.com with SMTP id m198so23958018oig.5 for ; Sun, 08 Oct 2017 10:29:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bowt-ie.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=k4AUga76CmBemzmwVgYcOETJBg+l2UksyYG2UxsdFa4=; b=WVwvWIPEiJznhi2CFm0L09CDcnHS9lPDR5K6NgZSI4RtPYdixDWfRJzTpaw3ldDUs0 HYIvkDiYd3eEqQZsSS2TPGRNuMZjNYW9jPVy6D5AbfRHVcMtlCEfusIypbVzBj8oWxeQ HqIoRoUX9eTadNRw3zILmlHsgjcIphdNTsUauJjjpwjPF8Jal23sA8fcCxrav9mW6Mtc TTbR1bzuBmzKQvHX/k93t4tIgsYw6/6Cve2TfNH6Ja1L2K2RpdzrmD7OKx/TlTeUVqRi AJim6NPTJnEZRWetPT0QWbB1LkOac0lnUW+SWYXmBxQkVMNSZ9KWoivQAGy4FMnX4ue0 cwjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=k4AUga76CmBemzmwVgYcOETJBg+l2UksyYG2UxsdFa4=; b=JoRajnqGtPpMSb+dokL1rRR7552bCpAqvUUCHWI3b6F/dc5DC54Q+LGGI+TeKmeRPI uN+BOJzvDVs+DD9ebHj4xYTz9QF+FGmlFqmthsinwt5uv2awhfUlx7JMM6CSp4BpZqka 9cwgdmJ2p+JnG01UeUTqCZb7YkX0k8jC2kjSi6JmqULJWgHRP3gWTrtcXvFw2eRZ+1AU 86WyMw86+mC+bAO3zz//3L9Gz63zachztSbZnXUuQe6hf6WbQkuIPo2Xufr+C5u0dUOa DzFFBsrq1SCPOORv2Ao+j8wxnFJjca8eLs5f90C5NGJq+3ybUIiMQNg6ZUb0qdTXxKE1 1i5A== X-Gm-Message-State: AMCzsaW/n7w1643PMMGGETkhS0SPSivOHpqSXl3M3lNanuAq/1OSg9cf SEOQotHrfDPl4Q/P6AJjtHF+z6YokZ0Haqe9uB1RIQ== X-Google-Smtp-Source: AOwi7QBgkQcNsfGbqD3v5ZyEPQo7x63R84OQLuu8wyQbFLvA9JEfuho6jvs534NmIDHgOnCkDQiWsyqxbgdI+VVzSSY= X-Received: by 10.202.244.78 with SMTP id s75mr3923616oih.24.1507483766754; Sun, 08 Oct 2017 10:29:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.29.152 with HTTP; Sun, 8 Oct 2017 10:29:06 -0700 (PDT) In-Reply-To: <20171007232524.sdpi3jk2636fvjge@alvherre.pgsql> References: <20171007232524.sdpi3jk2636fvjge@alvherre.pgsql> From: Peter Geoghegan Date: Sun, 8 Oct 2017 10:29:06 -0700 Message-ID: Subject: Re: [COMMITTERS] pgsql: Fix freezing of a dead HOT-updated tuple To: Alvaro Herrera Cc: "Wong, Yi Wen" , "Wood, Dan" , Michael Paquier , PostgreSQL Hackers , Robert Haas Content-Type: text/plain; charset="UTF-8" List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Sat, Oct 7, 2017 at 4:25 PM, Alvaro Herrera wrote: > Hmm, I think I added a random sleep (max. 100ms) right after the > HeapTupleSatisfiesVacuum call in vacuumlazy.c (lazy_scan_heap), and that > makes the race easier to hit. I still cannot reproduce. Perhaps you can be more specific? -- Peter Geoghegan -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers