Re: lastOverflowedXid does not handle transaction ID wraparound

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
To: aekorotkov(at)gmail(dot)com
Cc: simon(dot)riggs(at)enterprisedb(dot)com, stanhu(at)gmail(dot)com, x4mmm(at)yandex-team(dot)ru, 9erthalion6(at)gmail(dot)com, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: lastOverflowedXid does not handle transaction ID wraparound
Date: 2021-11-05 07:31:12
Message-ID: 20211105.163112.1438327734459917410.horikyota.ntt@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At Thu, 4 Nov 2021 01:07:05 +0300, Alexander Korotkov <aekorotkov(at)gmail(dot)com> wrote in
> Hi!
>
> On Wed, Nov 3, 2021 at 8:51 PM Simon Riggs <simon(dot)riggs(at)enterprisedb(dot)com> wrote:
> > It is however, an undocumented modularity violation. I think that is
> > acceptable because of the ProcArrayLock traffic, but needs to have a
> > comment to explain this at the call to
> > ExpireOldKnownAssignedTransactionIds() i.e. " and potentially reset
> > lastOverflowedXid", as well as a comment on the
> > ExpireOldKnownAssignedTransactionIds() function.
>
> Thank you for your feedback. Please find the revised patch attached.
> It incorporates this function comment changes altogether with minor
> editings and commit message. Let me know if you have further
> suggestions.
>
> I'm going to push this if no objections.

Thanks for taking a look on and refining this, Simon and Alex! (while
I was sick in bed X:)

It looks good to me except the commit Author doesn't contain the name
of Alexander Korotkov?

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message houzj.fnst@fujitsu.com 2021-11-05 07:44:56 RE: Added schema level support for publication.
Previous Message Takashi Menjo 2021-11-05 06:47:33 Re: Map WAL segment files on PMEM as WAL buffers