Closed Bug 388685 Opened 17 years ago Closed 16 years ago

graph server should handle duplicate data better

Categories

(Webtools Graveyard :: Graph Server, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rcampbell, Assigned: anodelman)

References

()

Details

Attachments

(2 files)

Multiple testruns for the same machine, buildid and testdate currently produce strange results in the graph display (see URL for screenshot). This should be corrected by either adding support to store multiple data sets for same buildid, machine and rundate (preferred) or overwriting existing data.
Assignee: nobody → anodelman
Priority: -- → P3
Blocks: 419487
Working on a basic fix which, if data is found for a run with the same time stamp/machine name key, the old set of data is removed allowing the new data to be applied to the db cleanly.
Priority: P3 → P2
Attachment #322027 - Flags: review?(morgamic)
Should mention that the patch only works if the assumption that discrete data sets start at point 0 (ie, (0, data), (1, nextdata), (2, nextnextdata), etc).
Comment on attachment 322027 [details] [diff] [review]
put a stop to dupes

Looks ok to me, but I'd need a bit of time to set up a server and test it...
Comment on attachment 322027 [details] [diff] [review]
put a stop to dupes

Alice - if this is holding you up, I say go for it -- patch looks good to me.
Attachment #322027 - Flags: review?(morgamic) → review+
Checking in collect.cgi;
/cvsroot/mozilla/webtools/new-graph/collect.cgi,v  <--  collect.cgi
new revision: 1.9; previous revision: 1.8
done
Checking in bulk.cgi;
/cvsroot/mozilla/webtools/new-graph/bulk.cgi,v  <--  bulk.cgi
new revision: 1.4; previous revision: 1.3
done

Will still require merge/check in with hg graph repository.
Pushed to graphs-stage.m.o.  Will let it bake overnight before push to graphs.m.o.
Tests on stage looked fine.  Let's get this pushed to production.
Assignee: anodelman → mark
[root@dm-graphs01 graphs]# cvs update bulk.cgi collect.cgi
P bulk.cgi
P collect.cgi

Updated.  These are immediately live, too.  (Not sure if I should close this ticket or pass it back?  I'm passing it back just in case there is more action required.)
Assignee: mark → anodelman
We'll have to keep this open till we get it checked in on the hg side as well.
No longer blocks: 386669
Target Milestone: --- → 0.3
Blocks: 440788
Same as before, but for the hg repository of the graph code base.
Attachment #326777 - Flags: review?
Attachment #326777 - Flags: review? → review?(morgamic)
Attachment #326777 - Flags: review?(morgamic) → review+
Comment on attachment 326777 [details] [diff] [review]
[Checked in] put a stop to dupes (against hg 86:b6c376afc4cb)

Checked in to hg revision 	278e7148ac65.
Attachment #326777 - Attachment description: put a stop to dupes (against hg 86:b6c376afc4cb) → [Checked in] put a stop to dupes (against hg 86:b6c376afc4cb)
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: