Fix race conditions with concurrent drops of shared pgstats entries

Edit
ID 5045
Title Fix race conditions with concurrent drops of shared pgstats entries
Topic Bug Fixes
Created 2024-06-17 04:36:00
Last modified 2024-10-02 04:43:10 (3 days, 14 hours ago)
Latest email 2024-06-17 04:32:30 (3 months, 2 weeks ago)
Status
2024-11: Needs review
2024-09: Moved to next CF
2024-07: Moved to next CF
Target version stable
Authors Michael Paquier (michael-kun)
Reviewers Become reviewer
Committer
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/5045
git checkout commitfest/cf/5045
Emails
BF mamba failure
First at 2023-03-18 04:11:59 by Amit Kapila <amit.kapila16 at gmail.com>
Latest at 2024-06-17 04:32:30 by Michael Paquier <michael at paquier.xyz>
Latest attachment (0001-Introduce-agecount-for-shared-pgstats.patch) at 2024-06-17 04:32:30 from Michael Paquier <michael at paquier.xyz>
    Attachment (0001-Introduce-agecount-for-shared-pgstats.patch) at 2024-06-17 04:32:30 from Michael Paquier <michael at paquier.xyz> (Patch: Yes)
    Attachment (pgstat_rc-debugging.patch) at 2024-06-12 17:00:00 from Alexander Lakhin <exclusion at gmail.com> (Patch: Yes)
    Attachment (pgstat_shmem-debugging.patch) at 2023-03-18 15:00:01 from Alexander Lakhin <exclusion at gmail.com> (Patch: Yes)
History
When Who What
2024-10-02 04:43:10 Michael Paquier (michael-kun) Closed in commitfest 2024-09 with status: Moved to next CF
2024-08-01 02:13:08 Corey Huinker (coreyh) Closed in commitfest 2024-07 with status: Moved to next CF
2024-06-17 04:36:09 Michael Paquier (michael-kun) Changed authors to Michael Paquier (michael-kun)
2024-06-17 04:36:09 Michael Paquier (michael-kun) Changed targetversion to stable
2024-06-17 04:36:00 Michael Paquier (michael-kun) Attached mail thread CAA4eK1KxuMVyAryz_Vk5yq3ejgKYcL6F45Hj9ZnMNBS-g+PuZg@mail.gmail.com
2024-06-17 04:36:00 Michael Paquier (michael-kun) Created patch record
Edit