Closed Bug 760614 Opened 13 years ago Closed 13 years ago

Retry on connection failures, to address transient network errors

Categories

(Firefox for Android Graveyard :: Android Sync, defect, P1)

ARM
Android
defect

Tracking

(firefox14 fixed, firefox15 fixed, blocking-fennec1.0 +)

RESOLVED FIXED
mozilla16
Tracking Status
firefox14 --- fixed
firefox15 --- fixed
blocking-fennec1.0 --- +

People

(Reporter: liuche, Assigned: liuche)

References

Details

(Whiteboard: [sync], [qa+])

Attachments

(1 file)

This should also fix Bug 760360, which involves syncing on an unreliable network. If the connection is closed while we process downloaded records, the sync fails. We should be more optimistic, because on unreliable networks, a simple retry of the connection should allow us to complete the sync.
tracking-fennec: --- → ?
Whiteboard: [sync, fix for 760360]
Blocks: 760360
tracking-fennec: ? → -
blocking-fennec1.0: --- → ?
mobile triage: blocks, duping tony's bug to here
tracking-fennec: - → ---
blocking-fennec1.0: ? → +
Whiteboard: [sync, fix for 760360] → [sync][work in progress]
Priority: -- → P1
Status: NEW → ASSIGNED
OS: Mac OS X → Android
Hardware: x86 → ARM
Blocks: 736393
No longer blocks: 760360
Whiteboard: [sync][work in progress] → [sync][needs review: nalexander]
Whiteboard: [sync][needs review: nalexander] → [sync]
Target Milestone: --- → mozilla16
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Attachment #630021 - Attachment is patch: true
Comment on attachment 630021 [details] [diff] [review] Patch against m-i [Approval Request Comment] Bug caused by (feature/regressing bug #): User impact if declined: transient network errors cause missed syncs Testing completed (on m-c, etc.): builds m-c and aurora Risk to taking this patch (and alternatives if risky): low, patch is straightforward. String or UUID changes made by this patch: none
Attachment #630021 - Flags: approval-mozilla-beta?
Attachment #630021 - Flags: approval-mozilla-aurora?
Attachment #630021 - Flags: approval-mozilla-beta?
Attachment #630021 - Flags: approval-mozilla-beta+
Attachment #630021 - Flags: approval-mozilla-aurora?
Attachment #630021 - Flags: approval-mozilla-aurora+
Chenxia, how can this be verified? at the very least, i'll retry my STR in bug 760360 from my home network next build.
Whiteboard: [sync] → [sync], [qa+]
(In reply to Tony Chung [:tchung] from comment #9) > Chenxia, how can this be verified? at the very least, i'll retry my STR in > bug 760360 from my home network next build. In the general case, you'll need an environment that induces transient network errors. In this specific case, you're looking for an environment like your home network -- one that seems to drop idle connections quite rapidly.
Blocks: 762974
Still on the radar for verification on mozilla-15
Product: Mozilla Services → Android Background Services
Product: Android Background Services → Firefox for Android
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: