Implement memory-efficient full database restore with streamed SQL processing
feat(restore): implement memory-efficient full database restore with streamed SQL processing
Implement memory-efficient full database restore with streamed SQL processing940df2-feat-implement-memory-efficient-full-database-restore-with-cve-2026-103244featimplement memory efficient full database restore
Committed by sgoudelis
commit message
feat(restore): implement memory-efficient full database restore with streamed SQL processing
- Added support for streaming SQL statements from backup files to avoid loading entire files into memory.
- Introduced incremental schema creation, index deferral, and transactional row insertion for large file restores.
- Replaced server-side full restore with a more robust API using file streams.
- Simplified frontend setup wizard by removing client-side restore feature and related UI elements.Editor assessment
This commit patches CVE-2026-103244. The body clearly explains the engineering: streaming SQL statements instead of loading whole files, incremental schema creation, index deferral, transactional row insertion, and the replacement of the server-side full restore with a file-stream API, plus the removed client-side path. The 88-character subject is long but informative. A scope and a sentence on the motivating failure would make it exemplary. Formally the body is structured and readable; a scope and the motivating failure are the only additions worth making.