forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit18808f8
committed
Add wait events for recovery conflicts.
This commit introduces new wait events RecoveryConflictSnapshot andRecoveryConflictTablespace. The former is reported while waiting forrecovery conflict resolution on a vacuum cleanup. The latter is reportedwhile waiting for recovery conflict resolution on dropping tablespace.Also this commit changes the code so that the wait event Lock is reportedwhile waiting in ResolveRecoveryConflictWithVirtualXIDs() for recoveryconflict resolution on a lock. Basically the wait event Lock is reportedduring that wait, but previously was not reported only when that waithappened in ResolveRecoveryConflictWithVirtualXIDs().Author: Masahiko SawadaReviewed-by: Fujii MasaoDiscussion:https://postgr.es/m/CA+fd4k4mXWTwfQLS3RPwGr4xnfAEs1ysFfgYHvmmoUgv6Zxvmg@mail.gmail.com1 parent9d8ef98 commit18808f8
File tree
4 files changed
+29
-5
lines changed- doc/src/sgml
- src
- backend
- postmaster
- storage/ipc
- include
4 files changed
+29
-5
lines changedLines changed: 9 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1346 | 1346 |
| |
1347 | 1347 |
| |
1348 | 1348 |
| |
1349 |
| - | |
| 1349 | + | |
1350 | 1350 |
| |
1351 | 1351 |
| |
1352 | 1352 |
| |
| |||
1482 | 1482 |
| |
1483 | 1483 |
| |
1484 | 1484 |
| |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
1485 | 1493 |
| |
1486 | 1494 |
| |
1487 | 1495 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3852 | 3852 |
| |
3853 | 3853 |
| |
3854 | 3854 |
| |
| 3855 | + | |
| 3856 | + | |
| 3857 | + | |
| 3858 | + | |
| 3859 | + | |
| 3860 | + | |
3855 | 3861 |
| |
3856 | 3862 |
| |
3857 | 3863 |
| |
|
Lines changed: 12 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
46 |
| - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
47 | 49 |
| |
48 | 50 |
| |
49 | 51 |
| |
| |||
184 | 186 |
| |
185 | 187 |
| |
186 | 188 |
| |
187 |
| - | |
| 189 | + | |
188 | 190 |
| |
189 | 191 |
| |
190 | 192 |
| |
| |||
198 | 200 |
| |
199 | 201 |
| |
200 | 202 |
| |
| 203 | + | |
201 | 204 |
| |
| 205 | + | |
202 | 206 |
| |
203 | 207 |
| |
204 | 208 |
| |
| |||
223 | 227 |
| |
224 | 228 |
| |
225 | 229 |
| |
226 |
| - | |
| 230 | + | |
| 231 | + | |
227 | 232 |
| |
228 | 233 |
| |
229 | 234 |
| |
| |||
264 | 269 |
| |
265 | 270 |
| |
266 | 271 |
| |
267 |
| - | |
| 272 | + | |
268 | 273 |
| |
269 | 274 |
| |
270 | 275 |
| |
| |||
317 | 322 |
| |
318 | 323 |
| |
319 | 324 |
| |
| 325 | + | |
320 | 326 |
| |
321 | 327 |
| |
322 | 328 |
| |
| |||
346 | 352 |
| |
347 | 353 |
| |
348 | 354 |
| |
| 355 | + | |
349 | 356 |
| |
350 | 357 |
| |
351 | 358 |
| |
| |||
417 | 424 |
| |
418 | 425 |
| |
419 | 426 |
| |
| 427 | + | |
420 | 428 |
| |
421 | 429 |
| |
422 | 430 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
881 | 881 |
| |
882 | 882 |
| |
883 | 883 |
| |
| 884 | + | |
| 885 | + | |
884 | 886 |
| |
885 | 887 |
| |
886 | 888 |
| |
|
0 commit comments
Comments
(0)