forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit49bff53
committed
Assign AccessExclusiveLocks against subxacts in Hot Standby
Previously AELs were registered against the top-level xid, which couldcause locks to be held much longer than necessary in some cases duringHot Standby replay. We now record locks directly against their appropriatexids. Requires few code changes because original code allowed for thissituation but didn’t fully implement it.Discussion: CAKJS1f9vJ841HY=wonnLVbfkTWGYWdPN72VMxnArcGCjF3SywA@mail.gmail.comAuthor: Simon Riggs and David Rowley1 parent8df9bd0 commit49bff53
1 file changed
+2
-6
lines changedLines changed: 2 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
590 | 590 |
| |
591 | 591 |
| |
592 | 592 |
| |
593 |
| - | |
594 |
| - | |
595 |
| - | |
596 |
| - | |
597 | 593 |
| |
598 | 594 |
| |
599 | 595 |
| |
| |||
1052 | 1048 |
| |
1053 | 1049 |
| |
1054 | 1050 |
| |
1055 |
| - | |
| 1051 | + | |
1056 | 1052 |
| |
1057 | 1053 |
| |
1058 | 1054 |
| |
| |||
1084 | 1080 |
| |
1085 | 1081 |
| |
1086 | 1082 |
| |
1087 |
| - | |
| 1083 | + | |
1088 | 1084 |
| |
1089 | 1085 |
| |
1090 | 1086 |
| |
|
0 commit comments
Comments
(0)