forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitebdf5bf
committed
Delay updating control file to "in production"
Move the updating of the control file to "in production" status untilthe point where WAL writes are allowed. Before, there could be asignificant gap between the control file update and write transactionsactually being allowed. This makes it more reliable to use the controlstatus to verify the end of a promotion.From: Michael Paquier <michael.paquier@gmail.com>1 parentc1dc51d commitebdf5bf
1 file changed
+21
-10
lines changedLines changed: 21 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7431 | 7431 |
| |
7432 | 7432 |
| |
7433 | 7433 |
| |
7434 |
| - | |
7435 |
| - | |
7436 |
| - | |
7437 |
| - | |
7438 |
| - | |
7439 |
| - | |
7440 | 7434 |
| |
7441 | 7435 |
| |
7442 | 7436 |
| |
| |||
7494 | 7488 |
| |
7495 | 7489 |
| |
7496 | 7490 |
| |
7497 |
| - | |
7498 |
| - | |
7499 |
| - | |
7500 |
| - | |
| 7491 | + | |
| 7492 | + | |
| 7493 | + | |
| 7494 | + | |
| 7495 | + | |
| 7496 | + | |
| 7497 | + | |
| 7498 | + | |
| 7499 | + | |
| 7500 | + | |
| 7501 | + | |
| 7502 | + | |
| 7503 | + | |
| 7504 | + | |
7501 | 7505 |
| |
| 7506 | + | |
| 7507 | + | |
| 7508 | + | |
| 7509 | + | |
7502 | 7510 |
| |
7503 | 7511 |
| |
7504 | 7512 |
| |
7505 | 7513 |
| |
| 7514 | + | |
| 7515 | + | |
| 7516 | + | |
7506 | 7517 |
| |
7507 | 7518 |
| |
7508 | 7519 |
| |
|
0 commit comments
Comments
(0)