forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8d09192
committed
Make the standby server promptly handle interrupt signals.
This commit changes the startup process in the standby server so thatit handles the interrupt signals after waiting for wal_retrieve_retry_intervalon the latch and resetting it, before entering another wait on the latch.This change causes the standby server to promptly handle interrupt signals.Otherwise, previously, there was the case where the standby needs towait extra five seconds to shutdown when the shutdown request arrivedwhile the startup process was waiting for wal_retrieve_retry_intervalon the latch.Author: Fujii Masao, but implementation idea is from Soumyadeep ChakrabortyReviewed-by: Soumyadeep ChakrabortyDiscussion:https://postgr.es/m/9d7e6ab0-8a53-ddb9-63cd-289bcb25fe0e@oss.nttdata.comPer discussion of BUG #17073, back-patch to all supported versions.Discussion:https://postgr.es/m/17073-1a5fdaed0fa5d4d0@postgresql.org1 parentf47408c commit8d09192
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12231 | 12231 |
| |
12232 | 12232 |
| |
12233 | 12233 |
| |
| 12234 | + | |
| 12235 | + | |
| 12236 | + | |
12234 | 12237 |
| |
12235 | 12238 |
| |
12236 | 12239 |
| |
|
0 commit comments
Comments
(0)