forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd8f15c9
committed
Reduce chatter from signaling of autovacuum workers.
Don't print a WARNING if we get ESRCH from a kill() that's attemptingto cancel an autovacuum worker. It's possible (and has been seen in thebuildfarm) that the worker is already gone by the time we are able toexecute the kill, in which case the failure is harmless. About the onlyplausible reason for reporting such cases would be to help debug corruptedlock table contents, but this is hardly likely to be the most importantsymptom if that happens. Moreover issuing a WARNING might scare usersmore than is warranted.Also, since sending a signal to an autovacuum worker is now entirely aroutine thing, and the worker will log the query cancel on its end anyway,reduce the message saying we're doing that from LOG to DEBUG1 level.Very minor cosmetic cleanup as well.Since the main practical reason for doing this is to avoid unnecessarybuildfarm failures, back-patch to all active branches.1 parent1e2bd43 commitd8f15c9
1 file changed
+19
-9
lines changedLines changed: 19 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1167 | 1167 |
| |
1168 | 1168 |
| |
1169 | 1169 |
| |
1170 |
| - | |
| 1170 | + | |
| 1171 | + | |
1171 | 1172 |
| |
1172 | 1173 |
| |
1173 | 1174 |
| |
1174 | 1175 |
| |
1175 |
| - | |
1176 |
| - | |
1177 |
| - | |
1178 |
| - | |
1179 | 1176 |
| |
1180 | 1177 |
| |
1181 |
| - | |
1182 |
| - | |
1183 |
| - | |
1184 |
| - | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
1185 | 1192 |
| |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
1186 | 1196 |
| |
1187 | 1197 |
| |
1188 | 1198 |
| |
|
0 commit comments
Comments
(0)