Closed
Bug 787501
Opened 12 years ago
Closed 4 years ago
Support upload-only Android sync
Categories
(Firefox for Android Graveyard :: Android Sync, defect, P5)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: nalexander, Unassigned)
References
Details
The android-sync sync adapter claims to support upload only syncs:
<sync-adapter xmlns:android="http://schemas.android.com/apk/res/android"
...
android:supportsUploading="true" />
What this means is that when content is written to any of our registered ContentProvider's, Android will schedule a sync for us (generally 30 seconds after the write). We should try to honour that sync request, at least better than we do now.
Suggestion: On upload only sync:
* short circuit "complicated" sync stages: if meta/global and crypto/keys are missing/stale, or we've been node re-assigned, or whatever, bail out until we request a full sync.
* query each local content provider using guidsSince().
* fetch() each modified GUID from remote, and store/reconcile with local.
* fetch() each modified GUID from local and store to remote.
This is as close to upload only as we can get. Lame reality: with this scheme, we'll re-download all the records we upload this way, since their modified time on the remote server will be strictly after the last full sync.
Assignee | ||
Updated•12 years ago
|
Product: Mozilla Services → Android Background Services
Updated•7 years ago
|
Product: Android Background Services → Firefox for Android
Comment 1•6 years ago
|
||
Re-triaging per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195
Needinfo :susheel if you think this bug should be re-triaged.
Priority: P3 → P5
Comment 2•4 years ago
|
||
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•