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 1mPfYZ-0003yQ-7O for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Sep 2021 06:35: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 1mPfYW-0001bx-Ph for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Sep 2021 06:35:04 +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 1mPfYW-0001bj-FO for pgsql-hackers@lists.postgresql.org; Mon, 13 Sep 2021 06:35:04 +0000 Received: from smtp-fw-6002.amazon.com ([52.95.49.90]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mPfYS-0000Dq-6g for pgsql-hackers@lists.postgresql.org; Mon, 13 Sep 2021 06:35:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1631514900; x=1663050900; h=subject:from:to:cc:references:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=8nx0lPgHKJuR8tJytG0EqVGow6GbG8UuE5tRrHFgPws=; b=uvkb+rgSlIbvOD+82Ze3GjQXmNFDBn2bWnEN6QaQFGX7dbaZiyYl1j9l tUXaC9ARFHrLdnPtwC6z80CEMLvS215QH6OZO1I/mdkKe1DMJDcGxS9AD tBq0tnfRjp6nIyFi8vcLxhr8ZijxuqzsZrFT3dNDsFUP2DvjsyAoVZymI c=; X-IronPort-AV: E=Sophos;i="5.85,288,1624320000"; d="scan'208";a="139768006" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-1d-474bcd9f.us-east-1.amazon.com) ([10.43.8.2]) by smtp-border-fw-6002.iad6.amazon.com with ESMTP; 13 Sep 2021 06:34:53 +0000 Received: from EX13D03EUC003.ant.amazon.com (iad12-ws-svc-p26-lb9-vlan3.iad.amazon.com [10.40.163.38]) by email-inbound-relay-1d-474bcd9f.us-east-1.amazon.com (Postfix) with ESMTPS id 9CA62A1C3E; Mon, 13 Sep 2021 06:34:51 +0000 (UTC) Received: from 38f9d36c4abb.ant.amazon.com (10.43.162.211) by EX13D03EUC003.ant.amazon.com (10.43.164.192) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Mon, 13 Sep 2021 06:34:49 +0000 Subject: Re: [BUG] Failed Assertion in ReorderBufferChangeMemoryUpdate() From: "Drouvot, Bertrand" To: Amit Kapila CC: Dilip Kumar , PostgreSQL Hackers References: <92b0ee65-b8bd-e42d-c082-4f3f4bf12d34@amazon.com> <73dcd904-cfee-21f2-d363-317cd517cb00@amazon.com> <51babafd-4c0c-9b69-ec5c-5e4740d2606b@amazon.com> <7e2a1da1-80e1-64c4-1512-78e47a6711d4@amazon.com> <36ed78a0-5781-11d8-4842-afce849fb0c7@amazon.com> Message-ID: Date: Mon, 13 Sep 2021 08:34:44 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.43.162.211] X-ClientProxiedBy: EX13P01UWB004.ant.amazon.com (10.43.161.213) To EX13D03EUC003.ant.amazon.com (10.43.164.192) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 9/9/21 3:16 PM, Drouvot, Bertrand wrote: > Hi, > > On 9/9/21 1:16 PM, Amit Kapila wrote: >> On Tue, Sep 7, 2021 at 2:02 PM Drouvot, Bertrand >> wrote: >>> On 9/7/21 9:11 AM, Drouvot, Bertrand wrote: >>> Please find enclosed patch v2 (for the master branch) implementing the >>> modified approach of option 2) proposed by Amit. >>> >> The patch looks good to me. I have made a minor modification in the >> comment to make it explicit why we are not subtracting the size >> immediately > > Thanks! > > Indeed, good point to also mention in the comment why it has been done > that way. > >> Kindly prepare back-branch patches and >> test the same. > > Please find enclosed the modified (and tested) version for the > REL_13_STABLE branch (the master patch version also applied on > REL_14_STABLE). > I've seen that the patches have been committed, thanks! I'm marking the corresponding CF entry as committed. Thanks Bertrand