forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit47a338c
committed
Fix SxactGlobalXmin tracking.
Commitbb16aba broke the code that maintains SxactGlobalXmin. Itcould get stuck when a well-timed READ ONLY transaction runs. IfSxactGlobalXmin stops advancing, transactions on theFinishedSerializableTransactions queue are never cleaned up, soresources are effectively leaked. Revert that hunk of the commit.Also revert another similar hunk that was probably harmless, butunnecessary and unjustified, relating to the DOOMED flag in case ofRO_SAFE early release.Author: Thomas MunroReported-by: Tom LaneDiscussion:https://postgr.es/m/16170.1557251214%40sss.pgh.pa.us1 parentcd805f4 commit47a338c
1 file changed
+2
-4
lines changedLines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3438 | 3438 |
| |
3439 | 3439 |
| |
3440 | 3440 |
| |
3441 |
| - | |
3442 |
| - | |
| 3441 | + | |
3443 | 3442 |
| |
3444 | 3443 |
| |
3445 | 3444 |
| |
| |||
3635 | 3634 |
| |
3636 | 3635 |
| |
3637 | 3636 |
| |
3638 |
| - | |
3639 |
| - | |
| 3637 | + | |
3640 | 3638 |
| |
3641 | 3639 |
| |
3642 | 3640 |
| |
|
0 commit comments
Comments
(0)