Closed
Bug 1211281
Opened 9 years ago
Closed 9 years ago
[Metrics] AdvancedTelemetry does not retry properly
Categories
(Firefox OS Graveyard :: Metrics, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: thills, Assigned: thills)
References
Details
Attachments
(1 file)
AdvancedTelemetry needs to handle error condition such as server is not available or incorrect URL more elegantly.
Needs to obey the RETRY_INTERVAL. It currently does not.
Assignee | ||
Updated•9 years ago
|
Blocks: nga-telemetry
Comment 1•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → thills
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8669494 [details] [review]
[gaia] tamarahills:bugfix/1211281-handle-transmit-errors-advanced-telemetry > mozilla-b2g:master
Hi Russ,
I found this error in the retry mechanism after transmission fails either due to a timeout or an error.
Essentially, I changed it to start a new timer with the RETRY_INTERVAL vs. the REPORT_INTERVAL.
Would be great if you can feedback me.
Thanks,
-tamara
Attachment #8669494 -
Flags: feedback?(rnicoletti)
Updated•9 years ago
|
QA Whiteboard: [COM=Telemetry]
Comment 3•9 years ago
|
||
Comment on attachment 8669494 [details] [review]
[gaia] tamarahills:bugfix/1211281-handle-transmit-errors-advanced-telemetry > mozilla-b2g:master
The change looks code. I left one comment about improving the readability of the code.
Attachment #8669494 -
Flags: feedback?(rnicoletti) → feedback+
Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8669494 [details] [review]
[gaia] tamarahills:bugfix/1211281-handle-transmit-errors-advanced-telemetry > mozilla-b2g:master
Hi Marshall,
This patch fixes the retry/timeout cases. After it detects a retry/timeout it starts a timer for retry interval.
Thanks,
-tamara
Attachment #8669494 -
Flags: review?(marshall)
Assignee | ||
Comment 6•9 years ago
|
||
Hi David,
Do you have time to review this? I think Marshall must be pretty busy.
Thanks,
-tamara
Flags: needinfo?(dflanagan)
Comment 7•9 years ago
|
||
Comment on attachment 8669494 [details] [review]
[gaia] tamarahills:bugfix/1211281-handle-transmit-errors-advanced-telemetry > mozilla-b2g:master
Sorry for lag on review Tamara, this looks good to me
Flags: needinfo?(marshall)
Flags: needinfo?(dflanagan)
Attachment #8669494 -
Flags: review?(marshall) → review+
Assignee | ||
Comment 8•9 years ago
|
||
Try Run: https://treeherder.mozilla.org/#/jobs?repo=gaia&revision=e57637bb331c8525cfc447d1c849c7988e549c2a
Commit: https://github.com/mozilla-b2g/gaia/commit/9908a086b2819e6a3c76de937e3958177b5933b7
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 9•9 years ago
|
||
Verified@
Build ID 20151106013953
Gaia Revision 1fb7e4b7904d577a1859b91269a85b363ddc2836
Gaia Date 2015-11-06 02:30:49
Gecko Revision https://hg.mozilla.org/integration/mozilla-inbound/rev/f073181a927d63ae7abac86e47cc3872ccac7275
Gecko Version 45.0a1
Device Name aries
Firmware(Release) 4.4.2
Firmware(Incremental) eng.worker.20151106.005858
Firmware Date Fri Nov 6 00:59:06 UTC 2015
Bootloader s1
Verify result:
Telemetry retry properly based on the setting
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•