Closed
Bug 1186871
Opened 9 years ago
Closed 9 years ago
Don't wait for "shutdown" ping saving before creating "saved-session" payloads
Categories
(Toolkit :: Telemetry, defect)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
mozilla42
People
(Reporter: gfritzsche, Assigned: Dexter)
References
Details
(Whiteboard: [rC] [unifiedTelemetry] [uplift3])
Attachments
(2 files, 1 obsolete file)
(deleted),
patch
|
Dexter
:
review+
ritu
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Dexter
:
review+
gfritzsche
:
feedback+
|
Details | Diff | Splinter Review |
After creating the "shutdown" ping, we wait for (potentially long) saving operations to finish before collecting the "saved-session" payload.
https://hg.mozilla.org/mozilla-central/annotate/2ddec2dedced/toolkit/components/telemetry/TelemetrySession.jsm#l1617
We should not wait on this before collecting the saved-session payload, instead kicking off both collections synchronously and afterwards waiting on both to be saved.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → alessio.placitelli
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8637911 -
Flags: review?(gfritzsche)
Reporter | ||
Comment 2•9 years ago
|
||
Comment on attachment 8637911 [details] [diff] [review]
bug1186871.patch
Review of attachment 8637911 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with the below fixed.
::: toolkit/components/telemetry/TelemetrySession.jsm
@@ +1613,5 @@
>
> /**
> * Save both the "saved-session" and the "shutdown" pings to disk.
> */
> saveShutdownPings: Task.async(function*() {
This doesn't need to be a Task now.
Just make it a plain function and |return Promise.all(...)|.
Attachment #8637911 -
Flags: review?(gfritzsche) → review+
Assignee | ||
Comment 3•9 years ago
|
||
Thanks! Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=f157d696aa5f
Attachment #8637911 -
Attachment is obsolete: true
Attachment #8637953 -
Flags: review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Reporter | ||
Comment 6•9 years ago
|
||
Comment on attachment 8637953 [details] [diff] [review]
bug1186871.patch
Approval Request Comment
[Feature/regressing bug #]:
This is part of the uplift3 batch for the unified Telemetry project: http://bit.ly/1TCl4r8
This is targetting 41 now and these are the last minor "feature" patches blocking shipping - any further patches will be fixes for data quality etc. with very limited scope & impact.
[User impact if declined]:
This affects data quality, potentially increasing data mismatch between "old" and "new" Telemetry data, which could potentially break data validation.
[Describe test coverage new/current, TreeHerder]:
This has good automated test-coverage.
[Risks and why]:
Low-risk, well understood change that just changes when ping data is generated.
[String/UUID change made/needed]:
No string changes.
Attachment #8637953 -
Flags: approval-mozilla-aurora?
Reporter | ||
Updated•9 years ago
|
status-firefox40:
--- → wontfix
status-firefox41:
--- → affected
Tracked for 41. Also requesting QE team to verify this fix along all Unified Telemetry fixes. Thanks!
tracking-firefox41:
--- → +
Flags: qe-verify+
Comment on attachment 8637953 [details] [diff] [review]
bug1186871.patch
Let's uplift to Aurora, has been in m-c for a few days now.
Attachment #8637953 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 9•9 years ago
|
||
This appeared to have caused an xpcshell failure on at least Windows: https://treeherder.mozilla.org/logviewer.html#?job_id=996634&repo=mozilla-aurora
Backed out in https://hg.mozilla.org/releases/mozilla-aurora/rev/047d1e5ffaa3
Flags: needinfo?(alessio.placitelli)
Assignee | ||
Comment 11•9 years ago
|
||
This updated patch fixes the problem for aurora.
Flags: needinfo?(alessio.placitelli)
Attachment #8640999 -
Flags: review+
Attachment #8640999 -
Flags: feedback?(gfritzsche)
Reporter | ||
Updated•9 years ago
|
Attachment #8640999 -
Flags: feedback?(gfritzsche) → feedback+
Assignee | ||
Comment 12•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Reporter | ||
Comment 13•9 years ago
|
||
I don't think this bug needs separate QA attention.
Flags: qe-verify+ → qe-verify-
You need to log in
before you can comment on or make changes to this bug.
Description
•