Submitting batches of error reports to daisy.ubuntu.com

Bug #1085987 reported by Evan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Daisy
Confirmed
Medium
Unassigned
Whoopsie
Confirmed
Medium
Unassigned

Bug Description

Once we have batched system error reports implemented client side, there will be some changes needed on Daisy. To account for possible clock skew, we'll take the most recent report in the received batch, adjust it to the current server clock time and adjust all subsequent reports by the delta between the server clock and the most recent report time.

This will mean that we'll occasionally get reports for days gone past. We'll need to update the code that calculates the average errors per day, which assumes that days gone past are frozen. The likely implementation will involve marking a day as "dirty", so that a periodic task can re-compute the average errors for that calendar day.

Daisy will need to understand the concept of a batch set, a list of dictionaries in the bson data. Whoopsie will need to generate a batch set given the recent set of apport reports that it has not sent.

Evan (ev)
description: updated
Changed in daisy:
importance: Undecided → Medium
status: New → Confirmed
Changed in whoopsie:
importance: Undecided → Medium
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.