Trap SIGCHLD in pg_basebackup to exit early on stream child failure

Edit
ID 3302
Title Trap SIGCHLD in pg_basebackup to exit early on stream child failure
Topic Monitoring & Control
Created 2021-08-27 12:12:32
Last modified 2022-02-23 19:58:50 (2 years, 8 months ago)
Latest email 2022-02-23 19:58:29 (2 years, 8 months ago)
Status
2022-03: Committed
2022-01: Moved to next CF
2021-11: Moved to next CF
2021-09: Moved to next CF
Target version
Authors Daniel Gustafsson (d_gustafsson)
Reviewers Magnus Hagander (mha), Bharath Rupireddy (bharathrupireddy)Become reviewer
Committer Daniel Gustafsson (d_gustafsson)
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/3302
git checkout commitfest/cf/3302
Emails
Trap errors from streaming child in pg_basebackup to exit early
First at 2021-08-26 09:25:06 by Daniel Gustafsson <daniel at yesql.se>
Latest at 2022-02-23 19:58:29 by Daniel Gustafsson <daniel at yesql.se>
Latest attachment (v6-0001-Add-function-to-pump-IPC-process-until-string-mat.patch) at 2022-02-21 14:11:30 from Daniel Gustafsson <daniel at yesql.se>
    Attachment (v6-0001-Add-function-to-pump-IPC-process-until-string-mat.patch) at 2022-02-21 14:11:30 from Daniel Gustafsson <daniel at yesql.se> (Patch: Yes)
    Attachment (v5-0001-Add-function-to-pump-IPC-process-until-string-mat.patch) at 2022-02-18 21:00:43 from Daniel Gustafsson <daniel at yesql.se> (Patch: Yes)
    Attachment (v4-0001-Quick-exit-on-log-stream-child-exit-in-pg_basebac.patch) at 2021-09-29 11:18:40 from Daniel Gustafsson <daniel at yesql.se> (Patch: Yes)
    Attachment (v3-0001-Quick-exit-on-log-stream-child-exit-in-pg_basebac.patch) at 2021-09-03 09:53:01 from Daniel Gustafsson <daniel at yesql.se> (Patch: Yes)
    Attachment (v2-0001-Quick-exit-on-log-stream-child-exit-in-pg_basebac.patch) at 2021-09-01 08:26:22 from Daniel Gustafsson <daniel at yesql.se> (Patch: Yes)
    Attachment (0001-Quick-exit-on-log-stream-child-exit-in-pg_basebackup.patch) at 2021-08-26 09:25:06 from Daniel Gustafsson <daniel at yesql.se> (Patch: Yes)
pg_basebackup behavior on non-existent slot
First at 2021-09-28 09:50:45 by Dimitri Fontaine <Dimitri.Fontaine at microsoft.com>
Latest at 2021-09-29 09:24:08 by Daniel Gustafsson <daniel at yesql.se>
Latest attachment (pg_basebackup_rep_slot.v4.patch) at 2021-09-28 09:50:45 from Dimitri Fontaine <Dimitri.Fontaine at microsoft.com>
    Attachment (pg_basebackup_rep_slot.v4.patch) at 2021-09-28 09:50:45 from Dimitri Fontaine <Dimitri.Fontaine at microsoft.com> (Patch: Yes)
History
When Who What
2022-02-23 19:58:50 Daniel Gustafsson (d_gustafsson) Closed in commitfest 2022-03 with status: Committed
2022-02-16 07:28:56 Michael Paquier (michael-kun) New status: Waiting on Author
2022-02-02 16:23:53 Julien Rouhaud (rjuju) Closed in commitfest 2022-01 with status: Moved to next CF
2021-12-01 10:16:31 Daniel Gustafsson (d_gustafsson) Closed in commitfest 2021-11 with status: Moved to next CF
2021-12-01 10:16:26 Daniel Gustafsson (d_gustafsson) New status: Ready for Committer
2021-12-01 10:16:19 Daniel Gustafsson (d_gustafsson) Added d_gustafsson as committer
2021-10-01 07:21:43 Daniel Gustafsson (d_gustafsson) Closed in commitfest 2021-09 with status: Moved to next CF
2021-10-01 07:21:29 Daniel Gustafsson (d_gustafsson) Attached mail thread VI1PR83MB0189818B82C19059CB62E26199A89@VI1PR83MB0189.EURPRD83.prod.outlook.com
2021-09-28 13:49:31 Magnus Hagander (mha) Added mha as reviewer
2021-09-01 08:59:24 Daniel Gustafsson (d_gustafsson) New status: Needs review
2021-09-01 03:52:13 Bharath Rupireddy (bharathrupireddy) New status: Waiting on Author
2021-09-01 03:50:52 Bharath Rupireddy (bharathrupireddy) Added bharathrupireddy as reviewer
2021-08-27 12:12:41 Daniel Gustafsson (d_gustafsson) Changed authors to Daniel Gustafsson (d_gustafsson)
2021-08-27 12:12:33 Daniel Gustafsson (d_gustafsson) Attached mail thread 0F69E282-97F9-4DB7-8D6D-F927AA6340C8@yesql.se
2021-08-27 12:12:32 Daniel Gustafsson (d_gustafsson) Created patch record
Edit