]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: Reduce the amount of status invalidations when rolling shards forwards during... wip-stats-fix-jon
authorJon Bailey <jonathan.bailey1@ibm.com>
Tue, 27 Jan 2026 16:59:28 +0000 (16:59 +0000)
committerJon Bailey <jonathan.bailey1@ibm.com>
Thu, 29 Jan 2026 09:55:32 +0000 (09:55 +0000)
commite1973eb7c6838f3ef1c400033d6818fa41e0d7b6
tree40d7a6c15044492c47930bd98ceca9fd676069a0
parent6f195f5d88cbed10cf972f73d6acbe72bdcd51b8
osd: Reduce the amount of status invalidations when rolling shards forwards during peering

Currently stats invalidations happen during peering when rolling forward shards.
We can reduce this so we only invalidate the stats when we don't have any other shards at the version we want to roll the stats forwards to.
In the cases where we have a shard with the stats at the correct version, we use those stats instead of invalidating.
If we do not have any shards with the correct version of stats, we do the invalidate as before.

Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
src/osd/PeeringState.cc