Since T195836: Cannot reliably get the EXPLAIN for a query on analytics wiki replica cluster it's not possible to directly get the EXPLAIN for a query on analytics wiki replica cluster since multiple servers are handling requests and it's not possible to choose on which one the EXPLAIN need to be executed.
Description
Details
Related Objects
- Mentioned In
- T367464: [bug] Quarry queries not completing
T265430: SHOW EXPLAIN FOR via Quarry or sql-optimizer fails often due to load balancing
T224656: A Query takes suddenly really much too long – something corrupt? - Mentioned Here
- T264254: Prepare Quarry for multiinstance wiki replicas
rANQW1f297c9931a5: query-status.html: hide Explain button until bug is solved
T195836: Cannot reliably get the EXPLAIN for a query on analytics wiki replica cluster
Event Timeline
Change 462286 had a related patch set uploaded (by Framawiki; owner: Framawiki):
[analytics/quarry/web@master] EXPLAIN needs to be executed on the good server
Change 543923 had a related patch set uploaded (by Framawiki; owner: Framawiki):
[analytics/quarry/web@master] query-status.html: hide Explain button until bug is solved
Change 543923 merged by jenkins-bot:
[analytics/quarry/web@master] query-status.html: hide Explain button until bug is solved
Mentioned in SAL (#wikimedia-cloud) [2019-10-19T15:18:27Z] <wm-bot> framawiki: Deployed 1f297c9 on -web-01 T205214 (query-status.html: hide Explain button until bug is solved)
The EXPLAIN capability is back up now!
There's a UI issue though - as this feature predates the STOP feature, a UI change is required to ensure the button doesn't show up on stopped queries (as explain only works for running queries.)
Change #462286 abandoned by Majavah:
[analytics/quarry/web@master] app.py: EXPLAIN needs to be executed on the good server
Reason:
quarry has moved to github for now, abandoning old patches