Closed Bug 1211281 Opened 9 years ago Closed 9 years ago

[Metrics] AdvancedTelemetry does not retry properly

Categories

(Firefox OS Graveyard :: Metrics, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

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: nobody → thills
Status: NEW → ASSIGNED
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)
QA Whiteboard: [COM=Telemetry]
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+
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)
any update?
Flags: needinfo?(marshall)
Hi David, Do you have time to review this? I think Marshall must be pretty busy. Thanks, -tamara
Flags: needinfo?(dflanagan)
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+
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.

Attachment

General

Created:
Updated:
Size: