Closed
Bug 1394073
Opened 7 years ago
Closed 7 years ago
Uploader doesn't declare store failure if "last payload" fails to upload
Categories
(Firefox for Android Graveyard :: Android Sync, enhancement, P1)
Firefox for Android Graveyard
Android Sync
Tracking
(firefox57 fixed)
RESOLVED
FIXED
Firefox 57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: Grisha, Assigned: Grisha)
Details
Attachments
(1 file)
Current behaviour if the "last payload" - in most syncs that is also the first and payload - fails to upload is to declare success of a store operation, while also enumerating failed records via onRecordStoreFailed delegate callback. This seems like a strange remnant of the non-batching uploader, or perhaps just a mistake. Thankfully it's harmless, thanks to behaviour upsream: we consider any remote record store failures as a "sync fail" on the SynchronizerSession level, and so we don't bump our timestamps for the remote repository.
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → gkruglov
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=f4e582436d5743bbf2ffd5e8207269b8cccff98b
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8901407 [details] Bug 1394073 - Call onStoreFailed in case last payload fails in the uploader https://reviewboard.mozilla.org/r/172894/#review178684 This makes me slightly uneasy, but I can't find any reason in the code for being uneasy, so roll on.
Attachment #8901407 -
Flags: review?(rnewman) → review+
Assignee | ||
Updated•7 years ago
|
Priority: -- → P1
Pushed by gkruglov@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f4ce8ee833e9 Call onStoreFailed in case last payload fails in the uploader r=rnewman
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f4ce8ee833e9
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Updated•7 years ago
|
Product: Android Background Services → Firefox for Android
Updated•3 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
•