]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: EC Optimizations fix proc_master_log handling of splits
authorBill Scales <bill_scales@uk.ibm.com>
Wed, 21 May 2025 17:16:50 +0000 (18:16 +0100)
committerAlex Ainscow <aainscow@uk.ibm.com>
Tue, 1 Jul 2025 11:57:50 +0000 (12:57 +0100)
commit5f687c4a182b18cab31476854a6b04a46e8c8464
tree6a517443b9a8a7fbbc0bc53f278efbfbdf9a5df5
parentddc306255868f26ae0a3951710ef18207fff9b30
osd: EC Optimizations fix proc_master_log handling of splits

For optimized EC pools proc_master_log needs to deal with
the other log being merged being behind the local log because
it is missing partial writes. This is done by finding the
point where the logs diverge and then checking whether local
log entries have been committed on all the shards.

A bug in this code meant that after a PG split (where there
may be gaps in the log due to entries moving to the other PG)
that the divergence point was not found and committed
partial writes ended up being discarded which creates
unfound objects.

Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
src/osd/PeeringState.cc