forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit89f562a
committed
Stop bgworkers during fast shutdown with postmaster in startup phase
When a postmaster gets into its phase PM_STARTUP, it would startbackground workers using BgWorkerStart_PostmasterStart mode immediately,which would cause problems for a fast shutdown as the postmaster forgetsto send SIGTERM to already-started background workers. With smart andimmediate shutdowns, this correctly happened, and fast shutdown is theonly mode missing the shot.Author: Alexander KukushkinReviewed-by: Michael PaquierDiscussion:https://postgr.es/m/CAFh8B=mvnD8+DZUfzpi50DoaDfZRDfd7S=gwj5vU9GYn8UvHkA@mail.gmail.comBackpatch-through: 9.51 parente2841d3 commit89f562a
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2734 | 2734 |
| |
2735 | 2735 |
| |
2736 | 2736 |
| |
2737 |
| - | |
| 2737 | + | |
2738 | 2738 |
| |
2739 | 2739 |
| |
2740 | 2740 |
| |
|
0 commit comments
Comments
(0)