From: | Greg Stark <stark(at)mit(dot)edu> |
---|---|
To: | Justin Pryzby <pryzby(at)telsasoft(dot)com> |
Cc: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Andres Freund <andres(at)anarazel(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Noah Misch <noah(at)leadboat(dot)com>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Temporary tables versus wraparound... again |
Date: | 2023-04-05 14:19:10 |
Message-ID: | CAM-w4HPzhtaoLBspL9niQ5A8Y_BJrrA5U2DJjcuCM0W6D1JkTw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, 5 Apr 2023 at 01:41, Greg Stark <stark(at)mit(dot)edu> wrote:
>
> On Wed, 29 Mar 2023 at 17:48, Justin Pryzby <pryzby(at)telsasoft(dot)com> wrote:
> >
> > The patch still occasionally fails its tests under freebsd.
> > https://cirrus-ci.com/github/postgresql-cfbot/postgresql/commitfest/42/3358
>
> I wonder if some other test is behaving differently on FreeBSD and
> leaving behind a prepared transaction or a zombie session in some idle
> state or something like that? Is there anything (aside from
> autovacuum) connecting or running in the background in the test
> environment that could be creating a transaction id and holding back
> snapshot xmin?
Ok, I've reproduced this here by running the tests under meson. It
doesn't look like it's platform dependent.
It seems under meson the different test suites are run in parallel or
at least isolation/deadlock-parallel are still running stuff when the
regression checks are running. If that's not expected then maybe
something's not behaving as expected? I've attached pg_stat_activity
from during the test run.
Regardless it shows these tests are obviously not robust enough to
include as they would break for anyone running make installcheck on a
non-idle cluster.
That's fine, as I said, the tests were just there to give a reviewer
more confidence and I think it's fine to just not include them in the
commit.
--
greg
Attachment | Content-Type | Size |
---|---|---|
pg_stat_activity.txt | text/plain | 12.6 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2023-04-05 14:24:14 | Re: Minimal logical decoding on standbys |
Previous Message | Anton A. Melnikov | 2023-04-05 14:04:39 | Re: [BUG] Logical replica crash if there was an error in a function. |