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 1m8UBY-0000aS-D9 for pgsql-bugs@arkaria.postgresql.org; Tue, 27 Jul 2021 21:00:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m8UBX-00021S-Be for pgsql-bugs@arkaria.postgresql.org; Tue, 27 Jul 2021 21:00:19 +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 1m8UBX-00021J-59 for pgsql-bugs@lists.postgresql.org; Tue, 27 Jul 2021 21:00:19 +0000 Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1m8UBV-0000Wm-3s for pgsql-bugs@lists.postgresql.org; Tue, 27 Jul 2021 21:00:18 +0000 Received: by mail-lj1-x22e.google.com with SMTP id u20so466294ljo.0 for ; Tue, 27 Jul 2021 14:00:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=oHhR4w/P3n09EY/+HGLy/jnJlG7zDe3qMtM2jr2d3+c=; b=UrcKyx73vIEo0ge7I47LrcsRddfF1ooo95zqpE7XnJK/mJYlbaSmH/eDya4JPRD1n+ GEXptlna3ZTZwIIGoPxiRLLUn2aNrAhuOurPr8cVZ84C0kAeBgcWCD2EbS7ZBBwuCxSA qqyETNf+i6dBBxaROfhvWTcUJLn967x2X1R/BZnfmFmFkuCk805McXN8NIY6RAfYo46e L8V4f9uCVqTU3pT2d3J7VxhKgd7pWQmItrmiQQw2OuNPdKJcY2TF3LgIVyBHCwkjUgeu 4BUsQzqL3qcB9fm+HzMmmvZvXZDiI25N0oGiqCCZnlnp1EkrUwDPF9+Xk09WOIfuzkDE J9sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=oHhR4w/P3n09EY/+HGLy/jnJlG7zDe3qMtM2jr2d3+c=; b=HCsleE+v/SLVsd7U4ITQP7ReE7WjIEasUJyMBcRsKHI4eas88nSxzAgmc7KyslSRTp hG30bNzRQXe627wtEz1D1jJvOuFOA/oR9aplEqwo68UTECOwR29cguleyW+qe4KZJ+D2 FQ8ku0lqx+OmsQxkFkfHwll/mPauYbrw7dopw0lo+aW5RDKT4p05bty3rBN8yHo+TcL8 qaY1HaYVXo1+Rtmw2g3UUoGu1mT98f+QLlR7LJ8hqYlZ65pImlaZTipNFTcqMu9RtCH0 Y8NYkiWMlm8I36FJY9WSjvaSTQw+WYD+utrYyRLprOWMsohYQm8548OmA3MYEu+Br+4Z AYWQ== X-Gm-Message-State: AOAM532gnK7QoLD/q8TKPKQw4AAZ5sw+/zvkxf/9aSjmU4tgifKmXYQr QCuA2KeDLOYcpmUyNx32U8ggOrB6L8U= X-Google-Smtp-Source: ABdhPJz7j7B4qDKubx5nMOTx4M8dOlmTm97W4UoidUxCNXuJVUPHdGcZWK81O3TXXRXVhTKjdr4Oyw== X-Received: by 2002:a2e:bd16:: with SMTP id n22mr17112548ljq.29.1627419616224; Tue, 27 Jul 2021 14:00:16 -0700 (PDT) Received: from [1.0.0.7] ([178.155.6.109]) by smtp.gmail.com with ESMTPSA id u12sm386797lff.192.2021.07.27.14.00.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Jul 2021 14:00:13 -0700 (PDT) Subject: Re: BUG #17116: Assert failed in SerialSetActiveSerXmin() on commit of parallelized serializable transaction To: Thomas Munro Cc: PostgreSQL mailing lists References: <17116-d6ca217acc180e30@postgresql.org> <66a6851c-e213-b31a-c8e6-789ab06e17f1@gmail.com> From: Alexander Lakhin Message-ID: Date: Wed, 28 Jul 2021 00:00:00 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hello Thomas, 27.07.2021 14:17, Thomas Munro wrote: > Reproduced here using a similar approach. It doesn't fail with this > new draft patch. The main thing I have learned is that > serializable-parallel-2.sql isn't really testing a very interesting > code path. I'll try to come up with a better test. Thanks! With the new fix applied, my multiple installcheck test survives 100+ iterations. (Except for read-only-anomaly-3, that causes another assertion fail but I believe that it's not related to the initial issue and deserves another bug report.) Best regards, Alexander