]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: Fix fast EC truncate to whole stripe wip-74129-tentacle
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:33:51 +0000 (10:33 +0000)
commit2a4e41d64fb15d7dfa12e45a1bd57fa17ea7b5a9
tree64aa062bc7021adbbd72257c80bd816e259a6ca5
parent36bf390092265661b9287c585635940de65969a6
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>
(cherry picked from commit 6075be4821e4a03b56c871a3b35fbd3375ee16e6)
src/osd/ECTransaction.cc
src/test/osd/test_ec_transaction.cc