Open Bug 1940622 Opened 5 months ago Updated 3 months ago

Offline translation models are included in D2D backups

Categories

(GeckoView :: Translations, defect)

Firefox 134
All
Android
defect

Tracking

(Not tracked)

UNCONFIRMED

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:

  1. Download all translation models in Firefox
  2. 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.

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.

Severity: -- → S3
See Also: → 1920467
Blocks: 1909674
No longer blocks: 1909674

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

Thank you for the reference to auto backup, that could be an interesting fix if we can exclude these files. Thanks for mentioning it!

Product: Fenix → GeckoView
You need to log in before you can comment on or make changes to this bug.