- Notifications
You must be signed in to change notification settings - Fork28
Commit35622f7
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 parent49841ed commit35622f7
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2685 | 2685 |
| |
2686 | 2686 |
| |
2687 | 2687 |
| |
2688 |
| - | |
| 2688 | + | |
2689 | 2689 |
| |
2690 | 2690 |
| |
2691 | 2691 |
| |
|
0 commit comments
Comments
(0)