Enhancement #76604
closed[RFE] PG degradation and clean timestamps are required in the metadata to track total rebuild time for PG
0%
Description
The following is the description of the problem resulting in this RFE:
The descripion is taken from the downstream issue as described by @Prashant D
and @Vikhyat Umrao.
Description:
PG degradation and clean timestamps are required in the metadata to track total
rebuild time for PG after an infrastructure event (hard drive or host crash)
Proposed Enhancement:
The following is the proposed solution from @Prashant D which I agree
with:
Vikhyat and me had a discussion on this. We believe a single last_degraded field
in the pg dump output that captures the timestamp when a PG transitions to
degraded, misplaced, or inactive states would provide sufficient granularity for
rebuild duration tracking.
This would allow customers to calculate the PG rebuild duration directly using
the timestamps :
- Rebuild start:
When last_clean < last_degraded, the PG entered a degraded state at the time recorded in last_degraded
- Rebuild end:
When the condition last_clean > last_degraded is satisfied, the PG has recovered to a clean state
- Rebuild duration:
The time difference between these two points
This approach leverages existing last_clean timestamps to derive rebuild
KPIs without needing to introduce multiple new fields. It provides the
necessary granularity for performance tracking while keeping the
implementation minimal and the output concise.
SS Updated by Sridhar Seshasayee 7 months ago
- Description updated (diff)
SS Updated by Sridhar Seshasayee 7 months ago
- Status changed from New to Fix Under Review
- Pull request ID set to 68910
KS Updated by Kamoltat (Junior) Sirivadhna 7 months ago
bug scrub: PR approved and in QA
RZ Updated by Radoslaw Zarzynski 6 months ago
Still in QA
LF Updated by Laura Flores 6 months ago
PR still in QA
UB Updated by Upkeep Bot 6 months ago
- Status changed from Fix Under Review to Resolved
- Merge Commit set to 0fbcd19bba5197817845d7015660899bf5468b57
- Fixed In set to v21.0.0-2065-g0fbcd19bba
- Upkeep Timestamp set to 2026-06-05T08:21:56+00:00
UB Updated by Upkeep Bot about 1 month ago
- Released In set to v21.2.0~274
- Upkeep Timestamp changed from 2026-06-05T08:21:56+00:00 to 2026-10-24T01:45:30+00:00