Page MenuHomePhabricator

EXPLAIN is broken because new analytics wiki replica cluster contains multiple servers
Closed, ResolvedPublicBUG REPORT

Description

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.

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

https://gerrit.wikimedia.org/r/462286

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

https://gerrit.wikimedia.org/r/543923

Change 543923 merged by jenkins-bot:
[analytics/quarry/web@master] query-status.html: hide Explain button until bug is solved

https://gerrit.wikimedia.org/r/543923

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)

Aklapper changed the subtype of this task from "Task" to "Bug Report".Jul 18 2023, 12:20 PM
SD0001 claimed this task.
SD0001 subscribed.

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

https://gerrit.wikimedia.org/r/462286