Area
TimescaleDB lifecycle and data retention
Problem
Retention and archival can create gaps or inconsistent reads while continuous aggregates, Redis caches, exports, and audit references still point at hot data.
Scope
Implement a zero-gap migration protocol for hot-to-cold time-series data with manifest checkpoints, dual-read verification, immutable archive objects, cache invalidation, and atomic range cutover.
Acceptance criteria
- Readers see a complete range during migration and after restart.
- Every archived segment has checksums, schema version, and row counts.
- Continuous aggregates and alert history remain correct across the boundary.
- Failed migration rolls back or resumes without duplicate rows.
- Restore drills prove the archive can reconstruct API results.
Area
TimescaleDB lifecycle and data retention
Problem
Retention and archival can create gaps or inconsistent reads while continuous aggregates, Redis caches, exports, and audit references still point at hot data.
Scope
Implement a zero-gap migration protocol for hot-to-cold time-series data with manifest checkpoints, dual-read verification, immutable archive objects, cache invalidation, and atomic range cutover.
Acceptance criteria