forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit205f466

Amit Kapila
Fix the computation of slot stats for 'total_bytes'.
Previously, we were using the size of all the changes present inReorderBuffer to compute total_bytes after decoding a transaction and thatcan lead to counting some of the transactions' changes more than once. Fixit by using the size of the changes decoded for a transaction to compute'total_bytes'.Author: Sawada MasahikoReviewed-by: Vignesh C, Amit KapilaDiscussion:https://postgr.es/m/20210319185247.ldebgpdaxsowiflw@alap3.anarazel.de1 parenteb08605 commit205f466
1 file changed
+19
-20
lines changedLines changed: 19 additions & 20 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1366 | 1366 |
| |
1367 | 1367 |
| |
1368 | 1368 |
| |
1369 |
| - | |
1370 |
| - | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
1371 | 1372 |
| |
1372 |
| - | |
| 1373 | + | |
1373 | 1374 |
| |
1374 | 1375 |
| |
1375 | 1376 |
| |
| |||
2371 | 2372 |
| |
2372 | 2373 |
| |
2373 | 2374 |
| |
2374 |
| - | |
2375 |
| - | |
2376 |
| - | |
| 2375 | + | |
| 2376 | + | |
| 2377 | + | |
2377 | 2378 |
| |
2378 | 2379 |
| |
2379 | 2380 |
| |
| |||
2382 | 2383 |
| |
2383 | 2384 |
| |
2384 | 2385 |
| |
2385 |
| - | |
| 2386 | + | |
2386 | 2387 |
| |
2387 | 2388 |
| |
2388 | 2389 |
| |
| |||
3073 | 3074 |
| |
3074 | 3075 |
| |
3075 | 3076 |
| |
3076 |
| - | |
| 3077 | + | |
3077 | 3078 |
| |
3078 | 3079 |
| |
3079 | 3080 |
| |
| |||
3087 | 3088 |
| |
3088 | 3089 |
| |
3089 | 3090 |
| |
3090 |
| - | |
3091 |
| - | |
3092 |
| - | |
3093 |
| - | |
3094 |
| - | |
3095 |
| - | |
3096 |
| - | |
3097 |
| - | |
| 3091 | + | |
| 3092 | + | |
| 3093 | + | |
| 3094 | + | |
| 3095 | + | |
| 3096 | + | |
| 3097 | + | |
| 3098 | + | |
3098 | 3099 |
| |
3099 | 3100 |
| |
3100 | 3101 |
| |
| |||
3104 | 3105 |
| |
3105 | 3106 |
| |
3106 | 3107 |
| |
3107 |
| - | |
3108 |
| - | |
| 3108 | + | |
3109 | 3109 |
| |
3110 | 3110 |
| |
3111 | 3111 |
| |
| |||
3114 | 3114 |
| |
3115 | 3115 |
| |
3116 | 3116 |
| |
3117 |
| - | |
3118 |
| - | |
| 3117 | + | |
3119 | 3118 |
| |
3120 | 3119 |
| |
3121 | 3120 |
| |
|
0 commit comments
Comments
(0)