]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: EC optimizations overaggresive check for missing objects
authorBill Scales <bill_scales@uk.ibm.com>
Mon, 26 May 2025 13:33:12 +0000 (14:33 +0100)
committerLaura Flores <lflores@ibm.com>
Wed, 9 Jul 2025 15:47:24 +0000 (15:47 +0000)
commitd4fff55c36731dae7f551c7bc7a0c8571f730e7e
treeb21188cdedd9c3039f1ddb24ef37ce43da2b6010
parentd3def6dea4d303f846ecbc4f7c8d6568caf59149
osd: EC optimizations overaggresive check for missing objects

Relax an assert in read_log_and_missing for optimized EC
pools. Because the log may not have entries for partial
writes but the missing list is calculated from the full
log the need version for a missing item may be newer than
the lastest log entry for that object.

ceph_objectstore_tool needs care because we don't want to add
extra dependencies. To minimise the dependencies, we always
relax the asserts when using this tool.

Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
(cherry picked from commit 20e883fedaf19293e939c4cac44de196bd6c9c19)
src/osd/PG.cc
src/osd/PGLog.h
src/test/osd/TestPGLog.cc
src/tools/ceph_objectstore_tool.cc