]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: EC Optimizations: Peer changes for partial logs
authorBill Scales <bill_scales@uk.ibm.com>
Wed, 26 Mar 2025 13:25:07 +0000 (13:25 +0000)
committerAlex Ainscow <aainscow@uk.ibm.com>
Tue, 22 Apr 2025 07:17:03 +0000 (08:17 +0100)
commitdcebe60afc9dded06f77fddeb0413e0b20e246dd
tree9b00c856914529e98b8346944a6b60177a7865a9
parenteb0bef777d96d103392b5e8279fb140cfafe67c8
osd: EC Optimizations: Peer changes for partial logs

Changes to peering for replica/strays to handle partial
logs. For EC optimized pools shards may not have a complete
log if there have been partial writes that did not update
the shard. If the most recent entries in the log have all
skipped updating a shard then it will have a log that ends
earlier than other shards. During peering the primary which
has a full copy of the log works out whether other shards
have any missing objects and then communicates this to
the replica/stray shards during activation.

The primary uses the partial write last complete data in
pg_info_t to explain to other shards if they are missing
log entries and just need to update last_update and
last_complete.

Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
src/osd/PeeringState.cc