Re: FailedAssertion at ReorderBufferCheckMemoryLimit()

Fujii Masao <masao.fujii@oss.nttdata.com>

From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2020-06-10T03:45:40Z
Lists: pgsql-hackers

On 2020/06/10 12:00, Amit Kapila wrote:
> On Tue, Jun 9, 2020 at 2:28 PM Amit Kapila <amit.kapila16@gmail.com> wrote:
>>
>> On Tue, Jun 9, 2020 at 1:56 PM Fujii Masao <masao.fujii@oss.nttdata.com> wrote:
>>>
>>
>>> I wonder if we may
>>> need to keep evicting the transactions until we don't exceed
>>> memory limit.
>>>
>>
>> Yes, that should be the right fix here.
>>
> 
> Can you please check whether the attached patch fixes the problem for you?

Thanks for the patch! The patch looks good to me.

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION



Commits

  1. Fix ReorderBuffer memory overflow check.