- Notifications
You must be signed in to change notification settings - Fork5k
Commit4753ef3
committed
Use a WaitLatch for vacuum/autovacuum sleeping
Instead of using pg_usleep() in vacuum_delay_point(), use a WaitLatch.This has the advantage that we will realize if the postmaster has beenkilled since the last time we decided to sleep while vacuuming.Reviewed-by: Thomas MunroDiscussion:https://postgr.es/m/CAFh8B=kcdk8k-Y21RfXPu5dX=bgPqJ8TC3p_qxR_ygdBS=JN5w@mail.gmail.com1 parent54bb91c commit4753ef3
1 file changed
+5
-3
lines changedLines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2080 | 2080 |
| |
2081 | 2081 |
| |
2082 | 2082 |
| |
2083 |
| - | |
2084 |
| - | |
2085 |
| - | |
| 2083 | + | |
| 2084 | + | |
| 2085 | + | |
| 2086 | + | |
| 2087 | + | |
2086 | 2088 |
| |
2087 | 2089 |
| |
2088 | 2090 |
| |
|
0 commit comments
Comments
(0)