Closed
Bug 548209
Opened 15 years ago
Closed 15 years ago
This query or location currently has no data, while it should.
Categories
(Socorro :: General, task)
Tracking
(Not tracked)
VERIFIED
FIXED
1.6.2
People
(Reporter: Usul, Assigned: ryansnyder)
References
Details
Attachments
(1 file)
718 bytes,
patch
|
ozten
:
review+
|
Details | Diff | Splinter Review |
http://crash-stats.mozilla.com/query/query?version=ALL%3AALL&date=&range_value=4&range_unit=weeks&query_search=signature&query_type=contains&query=MimeObject_write&build_id=&process_type=all&do_query=1
Results in two entry results :
1 MimeObject_write(MimeObject*, char const*, int, int) 7 5 2 0 0
2 @0x0 | @0x0 | nsCOMPtr_base::~nsCOMPtr_base() | COM_MimeObject_write 1 1 0 0 0
Clicking on the first link which is http://crash-stats.mozilla.com/report/list?query_search=signature&query_type=contains&query=MimeObject_write&date=&range_value=4&range_unit=weeks&process_type=all&plugin_field=&plugin_query_type=&plugin_query=&do_query=1&signature=MimeObject_write%28MimeObject*%2C%20char%20const*%2C%20int%2C%20int%29
Give no results , while the above table says 7 crashes.
Reporter | ||
Comment 1•15 years ago
|
||
If I restraint my queries to the thunderbird product I end up with a versy similar first page and then I can get to my results.
Updated•15 years ago
|
Target Milestone: --- → 1.7
Updated•15 years ago
|
Assignee: nobody → ryan
Assignee | ||
Comment 2•15 years ago
|
||
The query for this particular page forces the parameter $product = 'Firefox' when a product has not been specified or when "All" has been selected.
This patch ensures that $product = 'Firefox' does not get added to the query when a product has not been specified.
I'm not sure why this would have been added in the first place, unless perhaps it was needed for query speed or optimization.
Attachment #439979 -
Flags: review?(ozten.bugs)
Comment 3•15 years ago
|
||
Comment on attachment 439979 [details] [diff] [review]
Patch 1 for 548209
A 4 week query with no Criteria was too general and would take tens of minutes for Postgres to execute. Users would hit refresh and several of these would stack up, degrading Postgres' performance and looking up crash-stats.
This type of query should require the user be logged in and we should show a progress screen instead of a blank screen where the user hits refresh.
Maybe DB performance has changed and this is no longer an issue. If we test for that in prod, then I'm okay to r+.
Attachment #439979 -
Flags: review?(ozten.bugs) → review-
Comment 4•15 years ago
|
||
Comment on attachment 439979 [details] [diff] [review]
Patch 1 for 548209
r+, jetlag had me missing the signature in the query. Patch looks good.
Attachment #439979 -
Flags: review- → review+
Assignee | ||
Comment 5•15 years ago
|
||
Thanks Austin... Committing...
==
Sending libraries/MY_SearchReportHelper.php
Transmitting file data .
Committed revision 1966.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•15 years ago
|
Target Milestone: 1.7 → 1.6.2
Updated•14 years ago
|
Component: Socorro → General
Product: Webtools → Socorro
You need to log in
before you can comment on or make changes to this bug.
Description
•