From: | Rahila Syed <rahilasyed90(at)gmail(dot)com> |
---|---|
To: | Michael Paquier <michael(at)paquier(dot)xyz> |
Cc: | Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, "Maksim(dot)Melnikov" <m(dot)melnikov(at)postgrespro(dot)ru> |
Subject: | Re: Persist injection points across server restarts |
Date: | 2025-05-29 07:47:21 |
Message-ID: | CAH2L28viB1JdUuBOYn7xTmW16y6dVcExGjCoJQby_-9ore=Ryw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
Thank you for addressing the review comments.
> It appears that Github CI is reporting failures with
> > injection_points/002_data_persist
> > failing across all OSes.
>
> I am not sure to see what you are referring to here, based on the
> following reports:
> https://commitfest.postgresql.org/patch/5731/
> https://cirrus-ci.com/github/postgresql-cfbot/postgresql/cf%2F5731
> http://cfbot.cputube.org/highlights/all.html
>
> The last failure reported that I know of was due to the addition of
> the runtime arguments to the macro INJECTION_POINT().
>
>
After applying the v3-patches, I see failure like these:
macOS - Sonoma - Meson - Cirrus CI
<https://cirrus-ci.com/task/4589192849653760>
Windows - Server 2019, VS 2019 - Meson & ninja - Cirrus CI
<https://cirrus-ci.com/task/5715092756496384>
Linux - Debian Bookworm - Meson - Cirrus CI
<https://cirrus-ci.com/task/6629886430806016>
> > I wonder if it would be better to include a check for the return value of
> > `durable_rename` to
> > manage potential failure scenarios.
>
> Or we can be smarter and make this call an ERROR.
>
One issue with this approach is that if a failure occurs during rename, we
cannot
unlink(INJ_DUMP_FILE_TMP), because durable_rename does not handle this
before throwing an error.
Should we also consider unlinking the target file INJ_DUMP_FILE in case of
an
error during renaming?
Since target files are already synced at the start in the durable_rename()
function.
Thank you,
Rahila Syed
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Smith | 2025-05-29 08:08:20 | Re: [WIP]Vertical Clustered Index (columnar store extension) - take2 |
Previous Message | jian he | 2025-05-29 07:08:07 | Re: Foreign key validation failure in 18beta1 |