- Notifications
You must be signed in to change notification settings - Fork5
Commit80e373c
committed
Fix statistics breakage from bgwriter/checkpointer process split.
ForwardFsyncRequest() supposed that it could only be called in regularbackends, which used to be true; but since the splitup of bgwriter andcheckpointer, it is also called in the bgwriter. We do not want to countsuch calls in pg_stat_bgwriter.buffers_backend statistics, so fix thingsso that they aren't.(It's worth noting here that this implies an alarmingly large increase inthe expected amount of cross-process fsync request traffic, which may wellmean that the process splitup was not such a hot idea.)1 parent4a9c30a commit80e373c
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1132 | 1132 | | |
1133 | 1133 | | |
1134 | 1134 | | |
1135 | | - | |
| 1135 | + | |
| 1136 | + | |
1136 | 1137 | | |
1137 | 1138 | | |
1138 | 1139 | | |
| |||
1147 | 1148 | | |
1148 | 1149 | | |
1149 | 1150 | | |
1150 | | - | |
| 1151 | + | |
| 1152 | + | |
1151 | 1153 | | |
1152 | 1154 | | |
1153 | 1155 | | |
| |||
0 commit comments
Comments
(0)