Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sV50n-007kyu-0G for pgsql-hackers@arkaria.postgresql.org; Sat, 20 Jul 2024 08:00:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sV50j-00DXRz-1q for pgsql-hackers@arkaria.postgresql.org; Sat, 20 Jul 2024 08:00:09 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sV50i-00DXMk-LH for pgsql-hackers@lists.postgresql.org; Sat, 20 Jul 2024 08:00:09 +0000 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sV50g-000VQ5-Be for pgsql-hackers@postgresql.org; Sat, 20 Jul 2024 08:00:07 +0000 Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-52ed741fe46so3066901e87.0 for ; Sat, 20 Jul 2024 01:00:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721462404; x=1722067204; darn=postgresql.org; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=5jHqHOBoPSSBBP1DLNhbYpPm2fGhyH1u4RR7XQkAARs=; b=EDWof4e3KouuBum5jjMM+Y7XZPgc6ui+Ny/u/K/QFdquHa5YhWlFay2x16h7i+BGQh WV/GM1E5dFE4xZtejwS8asoKGtYx3AaPsxyQtjwvLz11LX/CvuTvq0HSCR6OAsajF8vn uq/BwTsD3Q967uuBAtDp+9vfb2JJ4mJSSZSxgbKqhR0Ip7nxlHm81ZYxwI/fZIXQIRDY dBzwpkscRgvPvn4GGfB3jOnJhv/WRJJHqNfh+44qOmeKmbAQduReQjfyo84kdqTVy9Ay 1ACz6xFjaHj7X9OCiUDrZn8JRnqfmxBJ14oHovF1LbvrZiKXuuccto0JE3WI/w+wUGa2 cRwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721462404; x=1722067204; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5jHqHOBoPSSBBP1DLNhbYpPm2fGhyH1u4RR7XQkAARs=; b=WWDyhhUNxMHCg6yDF+8j6Ij94/edMemKn9TLi6aGQUK7nADjYJXRdqN4i/HTEt97sZ 0kfpWqKNvmn/HgPNv717+6u6I92StBd5FyT+YP1DRcHhm1nigrMmcr/PEb954h5qxwVe bMajnnislCcE30mPDBn6beWAQhGG+HO2ftH07vnY62DA3b8G3dfJKSAQKbm/mjsxiamT FIgB/MGRDx1bQ+fwxAn4Q75FVuyUQLvAoJq/pOEHYuTcnZa3wZx8NT66I86e6VF0Hldg ePsp2hZHLTuTaYScbWt6YBSQhDglXCVaEX3MH/BwGYt5mFT0hYNOVg0lzDjvi6A+91+K GESA== X-Gm-Message-State: AOJu0YzCjn6iV3bOM3VLJY4g7ETHq0DtUurTExR9/tdlVsvBN/9oXV6S zm+A8sBmFxlby0hmrqg4cHWd7Gbp+lHoxjVZBiUAdHx9husU7im9+5xkSw== X-Google-Smtp-Source: AGHT+IEjvUz9dd8AdqxM4lB6NU4PZqlZgOeG4t9tJLQUkpCpjxHEJ/JHu1xBtRn5vwqrXzUvHKD/0w== X-Received: by 2002:a05:6512:31c9:b0:52c:dcea:86e2 with SMTP id 2adb3069b0e04-52efb76ab8fmr456968e87.1.1721462403478; Sat, 20 Jul 2024 01:00:03 -0700 (PDT) Received: from [1.0.0.7] ([178.155.21.244]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52ef556af94sm431314e87.127.2024.07.20.01.00.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 20 Jul 2024 01:00:02 -0700 (PDT) Message-ID: Date: Sat, 20 Jul 2024 11:00:00 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: race condition in pg_class To: Noah Misch Cc: pgsql-hackers@postgresql.org References: <20231027214946.79.nmisch@google.com> <1617596.1698446455@sss.pgh.pa.us> <20231027232612.99.nmisch@google.com> <20231102030915.d3.nmisch@google.com> <20240512232923.aa.nmisch@google.com> <20240605181706.fe.nmisch@google.com> <20240611024525.9f.nmisch@google.com> <20240614003549.c2.nmisch@google.com> <20240621212842.98.nmisch@google.com> <20240628051353.a0.nmisch@google.com> From: Alexander Lakhin Content-Language: en-US In-Reply-To: <20240628051353.a0.nmisch@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hello Noah, 28.06.2024 08:13, Noah Misch wrote: > Pushed. A recent buildfarm test failure [1] showed that the intra-grant-inplace-db.spec test added with 0844b3968 may fail on a slow machine (per my understanding): test intra-grant-inplace-db       ... FAILED     4302 ms @@ -21,8 +21,7 @@      WHERE datname = current_catalog          AND age(datfrozenxid) > (SELECT min(age(x)) FROM frozen_witness); -?column? ----------------------- -datfrozenxid retreated -(1 row) +?column? +-------- +(0 rows) whilst the previous (successful) run shows much shorter duration: test intra-grant-inplace-db       ... ok          540 ms I reproduced this failure on a VM slowed down so that the test duration reached 4+ seconds, with 100 test: intra-grant-inplace-db in isolation_schedule: test intra-grant-inplace-db       ... ok         4324 ms test intra-grant-inplace-db       ... FAILED     4633 ms test intra-grant-inplace-db       ... ok         4649 ms But as the test going to be modified by the inplace110-successors-v8.patch and the modified test (with all three latest patches applied) passes reliably in the same conditions, maybe this failure doesn't deserve a deeper exploration. What do you think? [1] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=habu&dt=2024-07-18%2003%3A08%3A08 Best regards, Alexander