Project

General

Profile

Actions

Bug #71813

closed
AA AA

Unnecessary code to update hinfo in Optimised EC

Bug #71813: Unnecessary code to update hinfo in Optimised EC

Added by Alex Ainscow over 1 year ago. Updated about 1 month ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Tags (freeform):
Fixed In:
v20.3.0-1540-g51679b948b
Released In:
v21.2.0~2533
Upkeep Timestamp:
2026-10-24T01:57:28+00:00

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.


Related issues 1 (0 open — 1 closed)

Copied to Ceph - Backport #72363: tentacle: Unnecessary code to update hinfo in Optimised ECResolvedAlex Ainscow

Actions

AA Updated by Alex Ainscow over 1 year ago Actions #1

  • Pull request ID set to 63960

AA Updated by Alex Ainscow over 1 year ago Actions #2

  • Tracker changed from Enhancement to Bug
  • Regression set to No
  • Severity set to 3 - minor

AA Updated by Alex Ainscow over 1 year ago Actions #3

  • Merge Commit set to 51679b948bd9bb45cce9d778b0555f45ff808cd8
  • Affected Versions v20.0.0, v21.0.0 added

AA Updated by Alex Ainscow over 1 year ago Actions #4

  • Status changed from New to Pending Backport

UB Updated by Upkeep Bot over 1 year ago Actions #5

  • Copied to Backport #72363: tentacle: Unnecessary code to update hinfo in Optimised EC added

UB Updated by Upkeep Bot over 1 year ago Actions #6

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot over 1 year ago Actions #7

  • 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 Actions #8

  • Status changed from Pending Backport to Resolved

UB Updated by Upkeep Bot 3 months ago Actions #9

  • 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 Actions #10

  • 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
Actions

Also available in: PDF Atom