]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: EC Optimizations fix peering bug causing unfound objects
authorBill Scales <bill_scales@uk.ibm.com>
Fri, 27 Jun 2025 12:35:58 +0000 (13:35 +0100)
committerJon <jonathan.bailey1@ibm.com>
Fri, 3 Oct 2025 13:31:23 +0000 (14:31 +0100)
commit2e5f5ad4684ae5e8f17f786f322745ff37ecb616
tree633fc8e19c1bd0cf3e88145e91069d6bc0e2fb3e
parent437faf1c2c3d68994a4cda810e55019577286e4c
osd: EC Optimizations fix peering bug causing unfound objects

Fix some unusual scenarios where peering was incorrectly
declaring that objects were missing on stray shards. When
proc_master_log rolls forward partial writes it need to
update pwlc exactly the same way as if the write had been
completed. This ensures that stray shards that were not
updated because of partial writes do not cause objects
to be incorrectly marked as missing.

The fix also means some code in GetMissing which was trying
to do a similar thing for shards that were acting,
recovering or backfilling (but not stray) can be deleted.

Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
(cherry picked from commit 83a9c0a9f8e9ed4f514adb32f1ae2df1602c3f88)
src/osd/PeeringState.cc