Commit 970d1f7
committed
Restart bgworkers immediately after a crash-and-restart cycle.
Just as we would start bgworkers immediately after an initial startup
of the server, we should restart them immediately when reinitializing.
Petr Jelinek and Robert Haas1 parent 364ddc3 commit 970d1f7
File tree
3 files changed
+33
-9
lines changed- src
- backend/postmaster
- include/postmaster
3 files changed
+33
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
397 | 418 | | |
398 | 419 | | |
399 | 420 | | |
| |||
478 | 499 | | |
479 | 500 | | |
480 | 501 | | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
486 | 508 | | |
487 | | - | |
| 509 | + | |
488 | 510 | | |
489 | 511 | | |
490 | 512 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2616 | 2616 | | |
2617 | 2617 | | |
2618 | 2618 | | |
2619 | | - | |
| 2619 | + | |
2620 | 2620 | | |
2621 | 2621 | | |
2622 | 2622 | | |
| |||
2860 | 2860 | | |
2861 | 2861 | | |
2862 | 2862 | | |
2863 | | - | |
2864 | 2863 | | |
2865 | 2864 | | |
2866 | 2865 | | |
| |||
2871 | 2870 | | |
2872 | 2871 | | |
2873 | 2872 | | |
2874 | | - | |
2875 | 2873 | | |
2876 | 2874 | | |
2877 | 2875 | | |
| |||
3546 | 3544 | | |
3547 | 3545 | | |
3548 | 3546 | | |
| 3547 | + | |
| 3548 | + | |
| 3549 | + | |
3549 | 3550 | | |
3550 | 3551 | | |
3551 | 3552 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
0 commit comments