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 1noeuE-0001VW-Nq for pgsql-hackers@arkaria.postgresql.org; Wed, 11 May 2022 05:29:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1noeuC-00056h-Kf for pgsql-hackers@arkaria.postgresql.org; Wed, 11 May 2022 05:29:00 +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 1noeuC-00056X-9v for pgsql-hackers@lists.postgresql.org; Wed, 11 May 2022 05:29:00 +0000 Received: from mail-io1-xd2b.google.com ([2607:f8b0:4864:20::d2b]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1noeu6-0000IY-0G for pgsql-hackers@lists.postgresql.org; Wed, 11 May 2022 05:28:59 +0000 Received: by mail-io1-xd2b.google.com with SMTP id s23so955985iog.13 for ; Tue, 10 May 2022 22:28:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=iyIf9l1lki18ke8DSPVc59HR5yk/kyEBY4SO0TTvySY=; b=CVUXXHV3poQtscQLE5AdAz5r+XwjFJUUfa0doSilKr/P1oV5Pnn9DA6RonlMgLQsuO C+mIVfam3Hhzf5sd2PM53gNLzUgqA1pEbO/coyT3lcrTZVehvrNlh94WdGNXpr0bZ8fy ME/JaX0YTDE8wmrmxyWH8LnhnU9FgRsWoHitQ3KKuDlt247dTYunz3CqosunQ3puHMNC SDI7HdOqKR1lVCe7Krjs9K+xFTfThWaG3daGXsfuOueeMqT2fSOH0EGgTN53dUMxnI/c xmzDhTxgmS7DiTzBCb8YAQp4zkCrIRW6dJKh5UII95bzSmM7wZas/+pjuTT5XdMr4QWh uuZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iyIf9l1lki18ke8DSPVc59HR5yk/kyEBY4SO0TTvySY=; b=7+MBVhQnBCXFm0ezw2XByGpEJQIOeC/lqYe6BvvpTWgr5YsG5eHAyYdsTn6LUJotzA +bE21HYzGW8Vne5ch4QdSp2mxuBbmtWSn/8kmzp95w52j1tsQhXVWwUcOnjYGEOxCvTi prL06Fuu30DyMGB8PyWCSQX08v0a5vlpDyFWN2zTrKooJL6TkYZzqCAgXfPNDUTRSWTt gumXgfC9PzvdgvDfmO541McOafQfBeYDxp5iANzXfqZ0iWmE3hrol4zAa+QqoC79E7Nb EAk+wNYzsGgxeAMQJNmsMJwsnpchS+BCI4HJyQgR1Sx1IrDfb/8FXKzX0EipSI6Ic4ZX O+CQ== X-Gm-Message-State: AOAM532hh81lqJ5J4NyyBqVt2Rvi5YL/F9Q0+snwe3Q7ur+tr8LcZ1ts 5gmDRSdmGY1Xx2xSD7Aw/60kLnV0JZ02yaeQ1Sw= X-Google-Smtp-Source: ABdhPJwFNRFQ+Ts9uAvxq6EKIVaI5Q7S2RxSw22bxOrz8Y0H1u63fb8ejzzCic1ubBYaleahLoyYbPKvWLVGx9aiD64= X-Received: by 2002:a02:7a06:0:b0:32b:1b83:649a with SMTP id a6-20020a027a06000000b0032b1b83649amr11032542jac.29.1652246932027; Tue, 10 May 2022 22:28:52 -0700 (PDT) MIME-Version: 1.0 References: <394950.1651077914@sss.pgh.pa.us> In-Reply-To: From: Thomas Munro Date: Wed, 11 May 2022 17:28:15 +1200 Message-ID: Subject: Re: Unstable tests for recovery conflict handling To: Mark Dilger Cc: Tom Lane , Andres Freund , Melanie Plageman , PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Apr 28, 2022 at 5:50 AM Mark Dilger wrote: > psql::1: ERROR: prepared transaction with identifier "xact_012_1" does not exist > [10:26:16.314](1.215s) not ok 11 - Rollback of PGPROC_MAX_CACHED_SUBXIDS+ prepared transaction on promoted standby > [10:26:16.314](0.000s) > [10:26:16.314](0.000s) # Failed test 'Rollback of PGPROC_MAX_CACHED_SUBXIDS+ prepared transaction on promoted standby' > [10:26:16.314](0.000s) # at t/012_subtransactions.pl line 208. > [10:26:16.314](0.000s) # got: '3' > # expected: '0' FWIW I see that on my FBSD/clang system when I build with -fsanitize=undefined -fno-sanitize-recover=all. It's something to do with our stack depth detection and tricks being used by -fsanitize, because there's a stack depth exceeded message in the log.