forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitee79928
committed
Clarify what is protected by WaitLSNLock
Not just WaitLSNState.waitersHeap, but also WaitLSNState.procInfos andupdating of WaitLSNState.minWaitedLSN is protected by WaitLSNLock. Thereis one now documented exclusion on fast-path checking ofWaitLSNProcInfo.inHeap flag.Discussion:https://postgr.es/m/202404030658.hhj3vfxeyhft%40alvherre.pgsql1 parent25f4242 commitee79928
2 files changed
+13
-4
lines changedLines changed: 8 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
109 | 109 |
| |
110 | 110 |
| |
111 | 111 |
| |
| 112 | + | |
| 113 | + | |
112 | 114 |
| |
113 | 115 |
| |
114 | 116 |
| |
115 | 117 |
| |
116 | 118 |
| |
117 |
| - | |
118 |
| - | |
119 | 119 |
| |
120 | 120 |
| |
121 | 121 |
| |
| |||
203 | 203 |
| |
204 | 204 |
| |
205 | 205 |
| |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
206 | 212 |
| |
207 | 213 |
| |
208 | 214 |
| |
|
Lines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
52 |
| - | |
| 52 | + | |
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
| |||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
62 |
| - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
63 | 66 |
| |
64 | 67 |
| |
65 | 68 |
| |
|
0 commit comments
Comments
(0)