forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitcdcdfca
committed
Truncate the predicate lock SLRU to empty, instead of almost empty.
Otherwise, the SLRU machinery can get confused and think that the SLRUhas wrapped around. Along the way, regardless of whether we'retruncating all of the SLRU or just some of it, flush pages aftertruncating, rather than before.Kevin Grittner1 parent1766a5b commitcdcdfca
1 file changed
+19
-7
lines changedLines changed: 19 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
920 | 920 |
| |
921 | 921 |
| |
922 | 922 |
| |
923 |
| - | |
924 |
| - | |
925 |
| - | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
926 | 934 |
| |
927 |
| - | |
| 935 | + | |
928 | 936 |
| |
929 | 937 |
| |
930 | 938 |
| |
931 | 939 |
| |
932 | 940 |
| |
| 941 | + | |
| 942 | + | |
| 943 | + | |
933 | 944 |
| |
934 | 945 |
| |
935 | 946 |
| |
936 | 947 |
| |
937 | 948 |
| |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
938 | 953 |
| |
939 | 954 |
| |
940 |
| - | |
941 |
| - | |
942 |
| - | |
943 | 955 |
| |
944 | 956 |
| |
945 | 957 |
| |
|
0 commit comments
Comments
(0)