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 1kPyoJ-0006Ip-97 for pgsql-committers@arkaria.postgresql.org; Wed, 07 Oct 2020 02:04:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kPynm-0006MN-J3 for pgsql-committers@arkaria.postgresql.org; Wed, 07 Oct 2020 02:03:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kPynm-0006LG-Ds for pgsql-committers@lists.postgresql.org; Wed, 07 Oct 2020 02:03:34 +0000 Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kPynj-000609-No for pgsql-committers@lists.postgresql.org; Wed, 07 Oct 2020 02:03:33 +0000 Received: by mail-pj1-x1043.google.com with SMTP id h4so272345pjk.0 for ; Tue, 06 Oct 2020 19:03:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=chpkgqnokxWeywMfWKPp/dskccQyZkw7ssAJ3Mk62Bg=; b=EcWmjnpKDloVcgVoIDp2Pc82rzev+THZApeJOGb43Sk2mvJskGn+UPStQN1UhZQ9Ql uGocB4Z+Y7o7XIZfXMLW/kntdSTTBPP1yzTn32yXuWvGRUn/E0AMOZKy45MNTOi/LzC7 z01n+BfDHL2TNyF5oYWmvs/aU2n4sAxoxv2oQ= 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:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=chpkgqnokxWeywMfWKPp/dskccQyZkw7ssAJ3Mk62Bg=; b=Aw6c/bh3MaMCi4cOec/LBpSvA1g9B6WDTe8vWJ15D/7kf47hfcK9w9corzGxh4mIcV ZhKj+8Ed64tw1qe8AW3U8xilP88Rnj1pq35lgG9CzWYymm+bhH4p4OIOi21gQXZj7JMA FOQE1N4jFdm2i7k1iSzbtfau1s8aQW+MSIwOKfOFEZ8WYdqZSYa+BVPkmSxlr0a9B4CN UXKQPiswJUdVfSEQGBELdt3QdmO8rLWv71eytjZNiArGkE/FUP7TACOAUVMG9Eb6dqgE cINIWwfYqDA0QX2Tm54YDAkEcpRMvjgx/PJhoU5NpsmJAc+oQtr14yByULcns2AGhtse wOkw== X-Gm-Message-State: AOAM533ZDqYDmZ3tKMFl+yu9iPYCsGKNlhWnTcIpPjOSFpKPCWhRCAAj fwuye622PtmRf49QFBPhKhyzD0/aoCUbww== X-Google-Smtp-Source: ABdhPJy1J0XzImJ8oPuBF1LU/nHrnb/e9YTsrBl2Q8a7NLTQYy7Y1BQLVVDQCtRzNny5u6oCt4XkGg== X-Received: by 2002:a17:902:834b:b029:d3:d5f6:f7ad with SMTP id z11-20020a170902834bb02900d3d5f6f7admr733215pln.59.1602036209622; Tue, 06 Oct 2020 19:03:29 -0700 (PDT) Received: from rfd.leadboat.com ([2600:1702:a20:5750::43]) by smtp.gmail.com with ESMTPSA id z12sm563275pfr.197.2020.10.06.19.03.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Oct 2020 19:03:29 -0700 (PDT) Date: Tue, 6 Oct 2020 19:03:27 -0700 From: Noah Misch To: Michael Paquier Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Fix race in test of pg_switch_wal(). Message-ID: <20201007020327.GC1422897@rfd.leadboat.com> References: <20200914082707.GH2183@paquier.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200914082707.GH2183@paquier.xyz> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, Sep 14, 2020 at 05:27:07PM +0900, Michael Paquier wrote: > On Mon, Sep 14, 2020 at 06:19:38AM +0000, Noah Misch wrote: > > Fix race in test of pg_switch_wal(). > > > > The test failed when something added WAL between pg_switch_wal() and > > pg_current_wal_lsn(), seen on buildfarm members hornet and sungazer. > > Fix v10, v9.6 and v9.5 by making this code mirror its v13+ counterpart. > > v12 and v11 lack a counterpart. > > Thanks Noah for that, I did not notice those buildfarm failures: > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=hornet&dt=2020-07-24%2010%3A24%3A56 > > It is fine to ping me or just to begin a thread if there is a problem, > I would have taken care of it. There's a new 020_archive_status.pl failure: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=mandrill&dt=2020-10-05%2023%3A02%3A17 Would you like to diagnose/fix that one?