Closed Bug 1219853 Opened 9 years ago Closed 9 years ago

[email] Go back to mozAlarms instead of request-sync

Categories

(Firefox OS Graveyard :: Gaia::E-Mail, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:2.5+, b2g-v2.2 affected, b2g-v2.5 fixed, b2g-master fixed)

RESOLVED FIXED
blocking-b2g 2.5+
Tracking Status
b2g-v2.2 --- affected
b2g-v2.5 --- fixed
b2g-master --- fixed

People

(Reporter: jrburke, Assigned: jrburke)

References

Details

Attachments

(2 files)

Due to the issues uncovered while investigating bug 1213169, particularly bug 1213169 comment 12, for stability and reliability purposes we will switch the email app back to using mozAlarms directly for background sync instead of request-sync.
This will be like reverting the changes in bug 1098289.
Depends on: 1098289
Because of some races I discovered in bug 1213169 comment 13, I think we'll also want a fix like https://github.com/mozilla-b2g/gaia/compare/master...asutherland:email-keep-wakelocks-on-close?expand=1 in here.

As I note in the commit comment there, I expect things to be better withou the fix under mozAlarms (where we'd end up only syncing every other time the mozAlarms fires) versus requestsync (where we basically break forever until the user manually triggers the app), but it still seems worth pursuing the workaround/fix.

I'll also try and raise appropriate system bugs so that the system message process does not have this failure mode.
Comment on attachment 8681457 [details] [review]
[gaia-email-libs-and-more] jrburke:bug1219853-email-alarm-sync > mozilla-b2g:master

GELAM review
Attachment #8681457 - Flags: review?(bugmail)
Comment on attachment 8681458 [details] [review]
[gaia] jrburke:bug1219853-email-alarm-sync > mozilla-b2g:master

Gaia review
Attachment #8681458 - Flags: review?(bugmail)
Attachment #8681457 - Flags: review?(bugmail) → review+
Attachment #8681458 - Flags: review?(bugmail) → review+
Merged in GELAM master:
https://github.com/mozilla-b2g/gaia-email-libs-and-more/commit/49a31b022af5811a6d985e3f62d5c7a2f1307221

Merged in Gaia master:
https://github.com/mozilla-b2g/gaia/commit/ec142cec0082d8cec1932e8bdb9585d59f2dfb0a
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
triage: need this in 2.5 for reliable email sync.
blocking-b2g: --- → 2.5+
(This is in v2.5 despite when it landed.)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: