- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit0013ba2
committed
Add wait events for checkpoint delay mechanism.
When MyProc->delayChkptFlags is set to temporarily block phasetransitions in a concurrent checkpoint, the checkpointer enters asleep-poll loop to wait for the flag to be cleared. We should show thatas a wait event in the pg_stat_activity view.Reviewed-by: Robert Haas <robertmhaas@gmail.com>Reviewed-by: Michael Paquier <michael@paquier.xyz>Discussion:https://postgr.es/m/CA%2BhUKGL7Whi8iwKbzkbn_1fixH3Yy8aAPz7mfq6Hpj7FeJrKMg%40mail.gmail.com1 parent7e1f544 commit0013ba2
File tree
2 files changed
+6
-0
lines changed- src/backend
- access/transam
- utils/activity
2 files changed
+6
-0
lines changedLines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6737 | 6737 |
| |
6738 | 6738 |
| |
6739 | 6739 |
| |
| 6740 | + | |
6740 | 6741 |
| |
| 6742 | + | |
6741 | 6743 |
| |
6742 | 6744 |
| |
6743 | 6745 |
| |
| |||
6750 | 6752 |
| |
6751 | 6753 |
| |
6752 | 6754 |
| |
| 6755 | + | |
6753 | 6756 |
| |
| 6757 | + | |
6754 | 6758 |
| |
6755 | 6759 |
| |
6756 | 6760 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
97 | 97 |
| |
98 | 98 |
| |
99 | 99 |
| |
| 100 | + | |
| 101 | + | |
100 | 102 |
| |
101 | 103 |
| |
102 | 104 |
| |
|
0 commit comments
Comments
(0)