- Notifications
You must be signed in to change notification settings - Fork5
Commit8431e29
committed
Cleanup initialization of Hot Standby. Clarify working with reanalysis
of requirements and documentation on LogStandbySnapshot(). Fixestwo minor bugs reported by Tom Lane that would lead to an incorrectsnapshot after transaction wraparound. Also fix two other problemsdiscovered that would give incorrect snapshots in certain cases.ProcArrayApplyRecoveryInfo() substantially rewritten. Some minorrefactoring of xact_redo_apply() and ExpireTreeKnownAssignedTransactionIds().1 parentc2e7f78 commit8431e29
File tree
6 files changed
+252
-120
lines changed- src
- backend
- access/transam
- storage/ipc
- include/storage
6 files changed
+252
-120
lines changedLines changed: 15 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
4378 | 4378 |
| |
4379 | 4379 |
| |
4380 | 4380 |
| |
4381 |
| - | |
| 4381 | + | |
4382 | 4382 |
| |
4383 | 4383 |
| |
4384 | 4384 |
| |
| |||
4412 | 4412 |
| |
4413 | 4413 |
| |
4414 | 4414 |
| |
4415 |
| - | |
| 4415 | + | |
4416 | 4416 |
| |
4417 | 4417 |
| |
4418 | 4418 |
| |
4419 | 4419 |
| |
4420 |
| - | |
| 4420 | + | |
4421 | 4421 |
| |
4422 | 4422 |
| |
4423 | 4423 |
| |
| |||
4499 | 4499 |
| |
4500 | 4500 |
| |
4501 | 4501 |
| |
4502 |
| - | |
| 4502 | + | |
| 4503 | + | |
| 4504 | + | |
| 4505 | + | |
| 4506 | + | |
| 4507 | + | |
4503 | 4508 |
| |
4504 | 4509 |
| |
4505 | 4510 |
| |
| |||
4511 | 4516 |
| |
4512 | 4517 |
| |
4513 | 4518 |
| |
4514 |
| - | |
4515 | 4519 |
| |
4516 |
| - | |
4517 |
| - | |
| 4520 | + | |
| 4521 | + | |
4518 | 4522 |
| |
4519 |
| - | |
4520 |
| - | |
4521 | 4523 |
| |
4522 |
| - | |
| 4524 | + | |
4523 | 4525 |
| |
4524 |
| - | |
| 4526 | + | |
4525 | 4527 |
| |
4526 | 4528 |
| |
4527 | 4529 |
| |
| |||
4596 | 4598 |
| |
4597 | 4599 |
| |
4598 | 4600 |
| |
4599 |
| - | |
| 4601 | + | |
4600 | 4602 |
| |
4601 | 4603 |
| |
4602 | 4604 |
| |
|
Lines changed: 12 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
5995 | 5995 |
| |
5996 | 5996 |
| |
5997 | 5997 |
| |
| 5998 | + | |
5998 | 5999 |
| |
5999 | 6000 |
| |
6000 | 6001 |
| |
| |||
6006 | 6007 |
| |
6007 | 6008 |
| |
6008 | 6009 |
| |
| 6010 | + | |
| 6011 | + | |
| 6012 | + | |
6009 | 6013 |
| |
6010 | 6014 |
| |
6011 | 6015 |
| |
| |||
6154 | 6158 |
| |
6155 | 6159 |
| |
6156 | 6160 |
| |
6157 |
| - | |
6158 |
| - | |
| 6161 | + | |
| 6162 | + | |
| 6163 | + | |
6159 | 6164 |
| |
6160 | 6165 |
| |
6161 | 6166 |
| |
| |||
7803 | 7808 |
| |
7804 | 7809 |
| |
7805 | 7810 |
| |
| 7811 | + | |
7806 | 7812 |
| |
7807 | 7813 |
| |
7808 | 7814 |
| |
| |||
7817 | 7823 |
| |
7818 | 7824 |
| |
7819 | 7825 |
| |
| 7826 | + | |
| 7827 | + | |
| 7828 | + | |
7820 | 7829 |
| |
7821 | 7830 |
| |
7822 | 7831 |
| |
|
0 commit comments
Comments
(0)