]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: Fix fast EC truncate to whole stripe ec_trunctate_bug
authorAlex Ainscow <aainscow@uk.ibm.com>
Sat, 6 Dec 2025 10:14:08 +0000 (10:14 +0000)
committerAlex Ainscow <aainscow@uk.ibm.com>
Sat, 6 Dec 2025 10:15:11 +0000 (10:15 +0000)
commit6075be4821e4a03b56c871a3b35fbd3375ee16e6
treec03268252e7152322feab319377eb19757a44ddb
parentf4e964eea620f74af9dbde1419240e23238d0e67
osd: Fix fast EC truncate to whole stripe

WritePlanObj has a key-not-found exception on truncates to exact
stripe lengths.

I have recreated in a unit test as well as on a real system.

It is a concern that ceph_test_rados and ceph_test_rados_io_sequence
never hit this pattern naturally.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
src/osd/ECTransaction.cc
src/test/osd/test_ec_transaction.cc