]> git.apps.os.sepia.ceph.com Git - ceph-ci.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)
committerJon <jonathan.bailey1@ibm.com>
Fri, 3 Oct 2025 13:31:25 +0000 (14:31 +0100)
commit33817eb90113a976f1dd6c02c3c4f2e7dbcc83d7
tree67020ea8ea9e3482a1fcca82815671ed1d9888fe
parent21bc071db9eb3d2ef8d14b103cb55af786abd1b1
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