Bug #71813
closedUnnecessary code to update hinfo in Optimised EC
0%
Description
Legacy EC used hinfo attribute to store two things:
Shard size
CRCs of the shards
However:
Optimized EC stores different object sizes on each shard
Optimized EC scrub calculates the correct sizes of shards and checks them, so shard size checks are not needed in hinfo.
Bluestore checks the CRC.
Seastore checks the CRC:
Seastore supports CRC checks for both meta and data internally.
Upon overwriting an object, Seastore will update CRC and will verify it on full object reads.
As such, the hinfo object is redundant. As such we remove it in optimized EC:
Remove all references/upgrades to hinfo.
2 Delete hinfo attribute if found on recovery/backfill.
3 Redirect all scrub references for hinfo to legacy EC.
This needs backporting, so opening a tracker.
AA Updated by Alex Ainscow over 1 year ago
- Pull request ID set to 63960
AA Updated by Alex Ainscow over 1 year ago
- Tracker changed from Enhancement to Bug
- Regression set to No
- Severity set to 3 - minor
AA Updated by Alex Ainscow over 1 year ago
- Merge Commit set to 51679b948bd9bb45cce9d778b0555f45ff808cd8
- Affected Versions v20.0.0, v21.0.0 added
AA Updated by Alex Ainscow over 1 year ago
- Status changed from New to Pending Backport
UB Updated by Upkeep Bot over 1 year ago
- Copied to Backport #72363: tentacle: Unnecessary code to update hinfo in Optimised EC added
UB Updated by Upkeep Bot over 1 year ago
- Tags (freeform) set to backport_processed
UB Updated by Upkeep Bot over 1 year ago
- Fixed In set to v20.3.0-1540-g51679b948b
- Upkeep Timestamp set to 2025-08-01T09:42:52+00:00
AA Updated by Alex Ainscow about 1 year ago
- Status changed from Pending Backport to Resolved
UB Updated by Upkeep Bot 3 months ago
- Tags (freeform) deleted (
backport_processed) - Upkeep Timestamp changed from 2025-08-01T09:42:52+00:00 to 2026-08-28T01:34:02+00:00
UB Updated by Upkeep Bot about 1 month ago
- Released In set to v21.2.0~2533
- Upkeep Timestamp changed from 2026-08-28T01:34:02+00:00 to 2026-10-24T01:57:28+00:00