Commit b178ce4
osd: Invalidate stats during peering if we are rolling a shard forwards.
This change will mean we always recalculate stats upon rolling stats forwards. This prevent the situation where we end up with incorrect statistics due to where we always take the stats of the oldest shard during peering; causing outdated pg stats being applied for cases where the oldest shards are shards that don't see partial writes where num_bytes has changed on other places after that point on that shard.
Signed-off-by: Jon Bailey <[email protected]>1 parent 2ee1884 commit b178ce4
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3333 | 3333 | | |
3334 | 3334 | | |
3335 | 3335 | | |
| 3336 | + | |
| 3337 | + | |
| 3338 | + | |
3336 | 3339 | | |
3337 | 3340 | | |
3338 | 3341 | | |
| |||
3410 | 3413 | | |
3411 | 3414 | | |
3412 | 3415 | | |
| 3416 | + | |
3413 | 3417 | | |
3414 | 3418 | | |
3415 | 3419 | | |
| |||
3427 | 3431 | | |
3428 | 3432 | | |
3429 | 3433 | | |
| 3434 | + | |
3430 | 3435 | | |
3431 | 3436 | | |
3432 | 3437 | | |
| |||
0 commit comments