Skip to content

Legacy Parquet summaries vanish from stored-resolution export after restart #1564

Closed

Description

@frahlg

A verified old-helper backup with two real legacy Parquet rows was restored on isolated Linux ARM64 copies. Both same-directory and relocated restores show those points after the first Core start. The second start returns an empty /api/series?...&points=0 result after the original file has been absorbed.

The data still exists: ts_series_hour has the two exact hourly summaries and ts_archive_days retains the matching file digest. mergedSeries includes summary-only hours for downsampled requests, but omits them in its maxPoints <= 0 branch. Original chart rows, settings, credentials, goals, identity and live writes pass; this is an export/read defect, not evidence that the summaries were deleted.

Reproduced with a clean local path-fix build based on v0.140.7-beta.1, using published v2.3.2 and v3.8.0-beta.1 backup helpers. The fixture combines old-Core SQLite data with synthetic real Parquet rows in the legacy long format. No hardware or household data was used.

Before promotion: return stored summaries with honest resolution, count and envelope in exports after file cleanup; avoid duplicate raw/aggregate evidence; keep query bounds; test two starts and copied source isolation. A new exact beta and field trial remain required. Other migrations and #1554 stay blocked.

Activity

  1. added
    release-blocker
    on Oct 11, 2026
  2. frahlg commented on Oct 28, 2026

    @frahlg
    MemberAuthor

    Fixed by #1566, with tests. The release-blocker label stayed only for the Docker-to-native move, which this issue does not depend on.

    🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    release-blocker

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions