Re: Backup command and functions can cause assertion failure and segmentation fault
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Fujii Masao <masao.fujii@oss.nttdata.com>
Cc: Masahiko Sawada <sawada.mshk@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2022-07-01T06:41:42Z
Lists: pgsql-hackers
On Fri, Jul 01, 2022 at 03:32:50PM +0900, Fujii Masao wrote: > Sounds good idea to me. I updated the patch in that way. Attached. Skimming quickly through the thread, this failure requires a termination of a backend running BASE_BACKUP. This is basically something done by the TAP test added in 0475a97f with a WAL sender killed, and MAX_RATE being used to make sure that we have enough time to kill the WAL sender even on fast machines. So you could add a regression test, no? -- Michael
Commits
-
Add more TAP tests with BASE_BACKUP and pg_backup_start/stop
- ad341469b423 16.0 landed
-
Fix assertion failure and segmentation fault in backup code.
- 0829cc43ed69 15.0 landed
- b24b2be119c4 16.0 landed
- 2497d2b77091 10.22 landed
- 80c3ea918526 11.17 landed
- f0eb83f81447 12.12 landed
- 162ade612f15 13.8 landed
- be2e842c8a79 14.5 landed
-
Prevent BASE_BACKUP in the middle of another backup in the same session.
- 286793b9889f 15.0 landed
- ee79647769f5 16.0 landed
- dd831afc44bf 10.22 landed
- 87e504487740 11.17 landed
- 9fa00e312b31 12.12 landed
- 5630f39b31ea 13.8 landed
- 2aedf25eb4d0 14.5 landed