Skip to content

android, desktop, ios: clear migration errors for oversized database and low storage#7059

Open
Narasimha-sc wants to merge 1 commit into
masterfrom
nd/migrate-device-size-checks
Open

android, desktop, ios: clear migration errors for oversized database and low storage#7059
Narasimha-sc wants to merge 1 commit into
masterfrom
nd/migrate-device-size-checks

Conversation

@Narasimha-sc

Copy link
Copy Markdown
Collaborator

Migrating a database whose archive exceeds the 5 GB XFTP hard limit only failed at the upload step with a generic, unactionable "Error uploading the archive" — after the whole archive had already been exported — and there was no check for free disk space before exporting. The migration upload path never validated the archive size before upload (the core's hard-limit rejection surfaced only as a raw error string) and never checked available storage. This adds a clear "database is too large" error before upload and an advisory low-storage confirmation before export, on Android, desktop and iOS.

@Narasimha-sc Narasimha-sc requested a review from epoberezkin as a code owner June 8, 2026 11:32
@Narasimha-sc Narasimha-sc force-pushed the nd/migrate-device-size-checks branch from 5cd1403 to e715afa Compare June 8, 2026 11:44
@Narasimha-sc Narasimha-sc force-pushed the nd/migrate-device-size-checks branch from e715afa to 5ff8651 Compare June 11, 2026 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant