You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Offline history conversion keeps Core stopped too long on large beta datasets #1254
The offline DuckDB converter copies and reads back numeric history in 1,024-row ranges. On a Raspberry Pi with an SD card and about 168 million samples, the released v3.5.1-beta.1 converter copied about 2,300 rows per second. Copying that table alone would keep Core stopped for about 20 hours, before readback and the remaining checks.
Use larger bounded ranges for the four numeric columns in ts_samples. Keep smaller ranges for tables that can hold large JSON values. Preserve source fingerprints, atomic row/cursor commits, full typed readback hashes and counts, and publication receipts.
Acceptance: resume a partial conversion made by the released 1,024-row tool; preserve values and IDs across interleaved series and row-ID gaps; pass the real DuckDB fixture with one million samples under an enforced 256 MiB limit; measure the converter on Raspberry Pi storage before using it for the migration.
Follow-up from the full dataset after #1255: copying initially reached about 9,800 rows/s, then fell to about 4,500–5,000 rows/s as the destination grew. The projected copying time is still too long, and small fixtures do not establish full-dataset throughput. Keep this issue open. A separate patch is being tested to retain the primary key during copying and build the secondary timestamp index only after the samples and merges are complete; publication must still require that index and every existing verification gate.
Activity