forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit91c3613
committed
Fix assertion failure by an immediate shutdown.
In PM_WAIT_DEAD_END state, checkpointer process must be dead already.But an immediate shutdown could make postmaster's state machinetransition to PM_WAIT_DEAD_END state even if checkpointer process isstill running, and which caused assertion failure. This bug was introducedin commit457d6cf.This patch ensures that postmaster's state machine doesn't transition toPM_WAIT_DEAD_END state in an immediate shutdown while checkpointerprocess is running.1 parentf347f26 commit91c3613
1 file changed
+9
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3328 | 3328 | | |
3329 | 3329 | | |
3330 | 3330 | | |
3331 | | - | |
3332 | | - | |
3333 | | - | |
3334 | | - | |
3335 | | - | |
3336 | | - | |
| 3331 | + | |
| 3332 | + | |
| 3333 | + | |
| 3334 | + | |
| 3335 | + | |
| 3336 | + | |
| 3337 | + | |
3337 | 3338 | | |
3338 | 3339 | | |
3339 | 3340 | | |
3340 | 3341 | | |
3341 | 3342 | | |
3342 | 3343 | | |
3343 | | - | |
| 3344 | + | |
| 3345 | + | |
3344 | 3346 | | |
3345 | 3347 | | |
3346 | 3348 | | |
| |||
0 commit comments
Comments
(0)