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 1kzkox-0001ey-13 for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Jan 2021 18:24:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kzkov-0000Li-4g for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Jan 2021 18:24:37 +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 1kzkVJ-0003kU-QE for pgsql-hackers@lists.postgresql.org; Wed, 13 Jan 2021 18:04:21 +0000 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kzkVE-0004ih-O9 for pgsql-hackers@postgresql.org; Wed, 13 Jan 2021 18:04:20 +0000 Received: by mail-lf1-x132.google.com with SMTP id h205so4094486lfd.5 for ; Wed, 13 Jan 2021 10:04:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:references:message-id :mime-version:content-transfer-encoding; bh=6rc28RzDwi4FUVjaLEw3yb+ciIW3OQqb80UtDIt6HpI=; b=qkpAh3GnQ2dPh2DL9l1/hsJCFsTGkcpOysyOJ6zQbyz+cIdosEI0Zz44x+XMapiPVF DSCGz8NERLylxsHtLavFRo8vaTWRhFF8erg8CQvgjkb0gT/po8sgPlFLiHBuGRjYSs9d yJ0zpYoFBPC1CAQWDX8fFBzPQ1OHnS4eeSR4yLt6CW7MiiBv5B96cfqFoYiIfK7GyI4f ZucGKvvrtbos+EIOLLcHT2u2ZUE1YUc6oBLB6uAJuVDBXsZj6sfNq6XsEqxL6IBpEBLw OOimBAElAM9S/X+RBCqDXa0mExljrFL5/MpI6VxeEf5IbCAWaaSZaZEgFn/zYQiR3x2R /AJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:references :message-id:mime-version:content-transfer-encoding; bh=6rc28RzDwi4FUVjaLEw3yb+ciIW3OQqb80UtDIt6HpI=; b=Fot3n9Afp4QrHo6nHlllrEPZsVoHqZRcaybF9CRg5Pi09U7ygKWAlZHR/2wjQkjU0x T3e7vzzWq5IIjxhc6D1k76TAE3e7chI0DHb6BmFSBidDOUlRdRMOQH+wOvuw6/zig37s 0Zyw4CHc338k8HZ1zfVdlJMHG1OwpFEtwDjXVQSpdRpQVXbPOdNz3cD30Vga3QG0QXZ0 O8RmGcit+mFZI2+JNGp6JQ/BVa9+IUKIIjuRFojXodtC3HKsaGaqlkiYN13l25GeENQy eVDdUu61yL4KBKhzbPvPE/AI02ooqmI0oOcMXcj3/kFnUtAsKL6fNhzyZBLeq/gNc9u4 U+fQ== X-Gm-Message-State: AOAM5305lA5ckZ06tpGGMdPbJZjuqUJa5CJid13k2P5MXNADGGdAeu17 GZP3hgXPjk2735JgzQkbHEw= X-Google-Smtp-Source: ABdhPJwp4LvbCURswI0FdYsh+7uDxoycBueSJ8xTtvVXvy4QDEradQ0tbTPv6d61PZX6oVlPOt3Azg== X-Received: by 2002:a05:6512:3305:: with SMTP id k5mr1353188lfe.35.1610561054929; Wed, 13 Jan 2021 10:04:14 -0800 (PST) Received: from [127.0.0.1] (dsl-hkibng22-54faa4-119.dhcp.inet.fi. [84.250.164.119]) by smtp.gmail.com with ESMTPSA id 6sm238678ljq.69.2021.01.13.10.04.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Jan 2021 10:04:14 -0800 (PST) Date: Wed, 13 Jan 2021 20:04:10 +0200 From: Heikki Linnakangas To: Heikki Linnakangas , Andrey Borodin CC: Peter Geoghegan , Tom Lane , Justin Pryzby , =?UTF-8?Q?Darafei_Kom=D1=8Fpa_Praliaskouski?= , Pavel Borisov , Thomas Munro , Michael Paquier , Alexander Korotkov , PostgreSQL Hackers Subject: Re: Yet another fast GiST build In-Reply-To: References: <7d9158ca-d7cb-88f0-dbbd-1d5cec32b1ae@iki.fi> <896113.1600643169@sss.pgh.pa.us> <8269ca22-d275-0afe-633c-2342c7ba11e6@iki.fi> <47CD54A6-EE59-433A-96E2-6F4E5973CEF4@yandex-team.ru> <422beff9-0e01-9ce6-edb9-c2a2289e8eb9@iki.fi> <0A1DDF47-CAB7-4D6A-9677-B1800FFB6984@yandex-team.ru> <4D68C21F-9FB9-41DA-B663-FDFC8D143788@yandex-team.ru> <4098005f-e4b5-5904-4b33-335dd106c132@iki.fi> <059BD785-A6CE-4E34-B80B-38E9E0309B78@yandex-team.ru> <8ACF61CC-32ED-4B4B-A2BC-15264E02D24E@yandex-team.ru> <3E4F9093-A1B5-4DF8-A292-0B48692E3954@yandex-team.ru> <9FCEC1DC-86FB-4A57-88EF-DD13663B36AF@yandex-team.ru> <359ab371-5026-15b5-1d89-d729d590d766@iki.fi> Message-ID: <628ABAF9-FEB6-4EAC-A5F5-750887F26656@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 13 January 2021 13:53:39 EET, Heikki Linnakangas wr= ote: >Buildfarm animal thorntail is still not happy: > >> --- /home/nm/farm/sparc64_deb10_gcc_64_ubsan/HEAD/pgsql=2Ebuild/=2E=2E/= pgsql/contrib/pageinspect/expected/gist=2Eout 2021-01-13 13:38:09=2E7217523= 65 +0300 >> +++ /home/nm/farm/sparc64_deb10_gcc_64_ubsan/HEAD/pgsql=2Ebuild/contrib= /pageinspect/results/gist=2Eout 2021-01-13 14:12:21=2E540046507 +0300 >> @@ -3,21 +3,21 @@ >> CREATE INDEX test_gist_idx ON test_gist USING gist (p); >> -- Page 0 is the root, the rest are leaf pages >> SELECT * FROM gist_page_opaque_info(get_raw_page('test_gist_idx', 0)); >> - lsn | nsn | rightlink | flags=20 >> ------+-----+------------+------- >> - 0/1 | 0/0 | 4294967295 | {} >> + lsn | nsn | rightlink | flags=20 >> +------------+-----+------------+------- >> + 0/1B8357F8 | 0/0 | 4294967295 | {} >> (1 row) > >Looks like the LSN on the page is not set to GistBuildLSN as expected=2E= =20 >Weird=2E > >Thorntail is a sparc64 system, so little-endian, but the other=20 >little-endian buildfarm members are not reporting this error=2E Any idea= =20 >what might be going on? Status update on this: I am building Postgres in a qemu sparc64 emulated v= irtual machine, hoping to be able to reproduce this=2E It's very slow, so i= t will take hours still to complete=2E I don't think this is a problem with the test, or with the new pageinspect= functions, but a genuine bug in the gist building code=2E Or there is som= ething special on that animal that causes the just-created index pages to b= e dirtied=2E It does seem to happen consistently on thorntail, but not on o= ther animals=2E - Heikki