forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1a8b110
committed
Fix second race condition in 002_archiving.pl with archive_cleanup_command
Checking the execution of archive_cleanup_command on a standby requiresa valid checkpoint coming from its primary, but the logic did not checkthat the standby replayed up to the point of the checkpoint, causing thetest checking for the execution of archive_cleanup_command to fail.This race was more visible in slow environments.Issue introduced in46dea24, so no backpatch is needed.Author: Tom LaneDiscussion:https://postgr.es/m/4015413.1649454951@sss.pgh.pa.us1 parent676eeb6 commit1a8b110
1 file changed
+5
-2
lines changedLines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 |
| - | |
50 |
| - | |
51 | 49 |
| |
52 | 50 |
| |
53 | 51 |
| |
54 | 52 |
| |
55 | 53 |
| |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
56 | 59 |
| |
57 | 60 |
| |
58 | 61 |
| |
|
0 commit comments
Comments
(0)