]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: EC Optimizations: Relax reset_complete_to for partial writes
authorBill Scales <bill_scales@uk.ibm.com>
Wed, 26 Mar 2025 10:46:07 +0000 (10:46 +0000)
committerAlex Ainscow <aainscow@uk.ibm.com>
Tue, 22 Apr 2025 07:04:24 +0000 (08:04 +0100)
commit63f20ebdd63e72d03ff0741f900bf1fb0a1591bb
tree43fbef9b655eb8bbf76f8094f99c6af875c23c33
parent6eb4150528a86e038d3e349aa9f543202efa3a92
osd: EC Optimizations: Relax reset_complete_to for partial writes

EC Optimized pools can have shards missing log entries because
of partial writes. This means it is possible to have a missing
entry with a newer version than the log. Relax an assert in
reset_complete_to to avoid this.

reset_complete_to also resets last_complete to 0 when the
oldest missing object is before the first log entry. This
is to aggressive for partial writes and needs to be relaxed.

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