]> git.apps.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)
committerAlex Ainscow <aainscow@uk.ibm.com>
Sun, 7 Sep 2025 23:10:41 +0000 (00:10 +0100)
commit2cde19ad6be883e2fefa822fd53b99214b161836
tree8b5557068e12f702ced2f78ac9835d2c02115a69
parentdff0dd4222b148a5de741abd8db02c8f67ed7a89
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