Closed Bug 912527 Opened 11 years ago Closed 11 years ago

Retest query once partition fixes are applied

Categories

(Socorro :: Database, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: selenamarie, Assigned: selenamarie)

References

Details

Originally reported by :bsmedberg: 

This query isn't correctly respecting partitions becaues of bug 905346:

SELECT
   r.uuid,
   r.cpu_info
FROM
   reports r
   JOIN reports_clean rc ON rc.uuid = r.uuid
   JOIN signatures s ON s.signature_id = rc.signature_id
WHERE
   r.date_processed > '2013-04-25' AND r.date_processed < '2013-04-30'
   AND rc.date_processed > '2013-04-25' AND rc.date_processed < '2013-04-30'
   AND r.os_name ~ 'Windows NT'
   AND r.hangid IS NULL
   AND rc.product_version_id = 1552
   AND s.signature =
'mozilla::dom::DocumentBinding::CreateInterfaceObjects(JSContext*,
JSObject*, JSObject**)'
;
Assignee: nobody → sdeckelmann
It's not perfect, but we're at least only looking at partitions which are from April on now. 

I'm getting deadlocks starting with the June partitions. I'll try to run more migrations late this evening to avoid the deadlocks.
All remaining misconfigured partitions have been removed!
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.