]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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)
committerAlex Ainscow <aainscow@uk.ibm.com>
Tue, 1 Jul 2025 12:03:29 +0000 (13:03 +0100)
commit20e883fedaf19293e939c4cac44de196bd6c9c19
tree15eee8273b7e82b1cce9ec4dc5a89b72ac5478f0
parent5f687c4a182b18cab31476854a6b04a46e8c8464
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>
src/osd/PG.cc
src/osd/PGLog.h
src/test/osd/TestPGLog.cc
src/tools/ceph_objectstore_tool.cc