Use WaitLatch for waiting instead of pg_usleep

Edit
ID 3085
Title Use WaitLatch for waiting instead of pg_usleep
Topic Miscellaneous
Created 2021-04-20 04:08:39
Last modified 2021-07-09 01:33:07 (3 years, 4 months ago)
Latest email 2021-07-12 08:25:07 (3 years, 4 months ago)
Status
2021-07: Committed
Target version
Authors Bharath Rupireddy (bharathrupireddy)
Reviewers Aleksander Alekseev (aalekseev)Become reviewer
Committer Michael Paquier (michael-kun)
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/3085
git checkout commitfest/cf/3085
Emails
Can a child process detect postmaster death when in pg_usleep?
First at 2021-04-14 14:06:06 by Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com>
Latest at 2021-07-12 08:25:07 by Michael Paquier <michael at paquier.xyz>
Latest attachment (v3-0001-Use-a-WaitLatch-for-Pre-and-Post-Auth-Delay.patch) at 2021-07-06 11:37:04 from Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com>
    Attachment (v3-0001-Use-a-WaitLatch-for-Pre-and-Post-Auth-Delay.patch) at 2021-07-06 11:37:04 from Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com> (Patch: Yes)
    Attachment (v2-0001-Use-a-WaitLatch-for-Pre-and-Post-Auth-Delay.patch) at 2021-07-06 10:24:07 from Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com> (Patch: Yes)
    Attachment (stop-backup-latch-v2.patch) at 2021-07-05 16:12:29 from Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com> (Patch: Yes)
    Attachment (stop-backup-latch-v2.patch) at 2021-07-05 02:03:12 from Michael Paquier <michael at paquier.xyz> (Patch: Yes)
    Attachment (v1-0001-Use-a-WaitLatch-for-lock-waiting-in-lazy_truncate.patch) at 2021-04-20 02:06:39 from Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com> (Patch: Yes)

Annotations

When Who Mail Annotation
2021-07-06 11:05:11 Michael Paquier (michael-kun) From Michael Paquier <michael@paquier.xyz>
at 2021-07-06 00:45:08
Committed the part for pg_stop_backup() and VACUUM. pre/post_auth_delay parts have less value.
History
When Who What
2021-07-09 01:33:07 Michael Paquier (michael-kun) Closed in commitfest 2021-07 with status: Committed
2021-07-09 01:33:07 Michael Paquier (michael-kun) Changed committer to michael-kun
2021-07-07 02:33:45 Bharath Rupireddy (bharathrupireddy) New status: Needs review
2021-07-06 11:05:11 Michael Paquier (michael-kun) Added annotation "Committed the part for pg_stop_backup() and VACUUM. pre/post_auth_delay parts have less value." to YOOnlP4NtWVzfsyb@paquier.xyz
2021-07-06 11:03:48 Michael Paquier (michael-kun) Removed michael-kun from committers
2021-07-05 03:29:00 Michael Paquier (michael-kun) Added michael-kun as committer
2021-06-24 06:45:26 Michael Paquier (michael-kun) New status: Waiting on Author
2021-05-14 12:15:14 Aleksander Alekseev (aalekseev) Posted review with messageid <162099451431.32052.12714558946650252170.pgcf@coridan.postgresql.org>
2021-05-14 12:15:14 Aleksander Alekseev (aalekseev) New status: Ready for Committer
2021-05-14 12:12:50 Aleksander Alekseev (aalekseev) Added aalekseev as reviewer
2021-04-20 04:09:25 Bharath Rupireddy (bharathrupireddy) Changed name to Use WaitLatch for waiting instead of pg_usleep
2021-04-20 04:08:52 Bharath Rupireddy (bharathrupireddy) Changed authors to Bharath Rupireddy (bharathrupireddy)
2021-04-20 04:08:39 Bharath Rupireddy (bharathrupireddy) Attached mail thread CALj2ACU4AdPCq6NLfcA-ZGwX7pPCK5FgEj-CAU0xCKzkASSy_A@mail.gmail.com
2021-04-20 04:08:39 Bharath Rupireddy (bharathrupireddy) Created patch record
Edit