Offline translation models are included in D2D backups
Categories
(GeckoView :: Translations, defect)
Tracking
(Not tracked)
People
(Reporter: mozilla-bugzilla, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Android 14; Mobile; rv:134.0) Gecko/134.0 Firefox/134.0
Steps to reproduce:
- Download all translation models in Firefox
- Attempt a backup using Seedvault (updated versions use D2D mode only, cloud backup is disallowed on Firefox)
Actual results:
Backup is too big, often causes the app quota of 1GB set by Seedvault to get lassedpassed and not get backed up.
Expected results:
These models that can be easily redownloaded should not be included in the D2D (device to device) transfers simulated by Seedvault. Due to their size when all downloaded it would also cause issues with speed using real device to device transfers.
Comment 1•5 months ago
|
||
Thank you for the report!
I suspect this issue has the same root cause as bug 1920467. We are putting remote settings data, including the translation models, in storage and not the cache.
Comment 2•5 months ago
|
||
Ohh, also, a workaround might be to delete the models before performing a backup:
Translations models can be cleared by: Settings -> Delete Browsing Data -> Cached Images and Files or through Settings -> Translations -> Download languages -> Delete all languages. (I'd still recommend clearing the cache first, though, because the Translations specific UI won't show partial or incomplete models.)
I suspect this issue has the same root cause as bug 1920467. We are putting remote settings data, including the translation models, in storage and not the cache.
AFAIK, it should be possible to exclude these from backup, as an alternative: https://developer.android.com/identity/data/autobackup
But overall, not a bad idea
Ohh, also, a workaround might be to delete the models before performing a backup:
I would expect this to work, but it's pretty eh because Seedvault backs thing up regularly and it would kind of lose the meaning of using this feature, which I do find nice
Comment 4•5 months ago
|
||
Thank you for the reference to auto backup, that could be an interesting fix if we can exclude these files. Thanks for mentioning it!
Updated•4 months ago
|
Description
•