]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: Optimized EC proc_master_log fix roll-forward logic when shard is absent
authorBill Scales <bill_scales@uk.ibm.com>
Mon, 28 Jul 2025 08:26:36 +0000 (09:26 +0100)
committerAlex Ainscow <aainscow@uk.ibm.com>
Wed, 17 Sep 2025 08:43:26 +0000 (09:43 +0100)
commitf6657b0de958a89d2b4da5011bddba7b59860544
tree7b74eeebe95ebdb59bbc7359564226e22190da30
parent0c94c96ac3ab068221e3f6ddc93a185f4f50e259
osd: Optimized EC proc_master_log fix roll-forward logic when shard is absent

Fix bug in optimized EC code where proc_master_log incorrectly did not
roll forward a write if one of the written shards is missing in the current
epoch and there is a stray version of that shard that did not receive the
write.

As long as the currently present shards that participated in les and were
updated by a write have the update then the write should be rolled-forward.

Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
(cherry picked from commit e0e8117769a8b30b2856f940ab9fc00ad1e04f63)
src/osd/PeeringState.cc