[01:08:51] any ideas why a query that only returns one row would be fast on shell and hang in quarry? [01:10:36] quarry still says it's running from 4 hours ago [01:11:15] jeremy_b: it may need to check a lot of entries before finding that one row [01:11:33] which query is it? [01:12:07] but fast on shell? refutes that I think. (re @wmtelegram_bot: jeremy_b: it may need to check a lot of entries before finding that one row) [01:12:10] https://quarry.wmcloud.org/query/68433 [01:12:26] yes, fast on shell vs slow on quarry is the important bit [01:12:51] SELECT * FROM revision r, revision p WHERE r.rev_page=59351544 AND r.rev_deleted=0 [01:12:51] AND p.rev_deleted=0 AND r.rev_parent_id=p.rev_id LIMIT 1; [01:16:37] I think it must be triggering a tablescan somehow [01:16:53] also note, it returns 10 rows [01:17:09] there was a version with limit 10 [01:17:12] earlier [01:17:32] it can return any of the 10 revisions there [01:17:33] how did you get that? (re @wmtelegram_bot: also note, it returns 10 rows) [01:17:49] by setting a larget LIMIT [01:17:56] I don't mean the LIMIt 1 doesn't work [01:18:06] just that it can return multiple things [01:34:22] It looks kind of like revision is being compared to itself. Is "revision p" a leftover from when "page" was being called, and now things are getting confused by r and p being basically the same? [01:34:43] https://quarry.wmcloud.org/query/68448 seems to work [01:34:54] self join was intentional (re @wmtelegram_bot: It looks kind of like revision is being compared to itself. Is "revision p" a leftover from when "page" was being called,...) [01:36:08] and works fine on toolforge bastion [01:37:12] p is not short for page [01:37:14] is parent [01:37:41] I would have used an explicit JOIN, this is old-style SQL, but nevertheless, it should work [01:39:03] does quarry have a mode to get more debugging? [01:40:38] anyway I was working on this project with someone, would help to get them shell also. when y'all have a chance. [01:40:39] https://toolsadmin.wikimedia.org/tools/membership/status/1343 [01:42:41] membership approved [10:04:15] !log wikisp Rebuild mars-01 (T321763) [10:04:17] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Wikisp/SAL [10:04:17] T321763: [ERROR] Can’t open and lock privilege tables: Table ‘mysql.servers’ doesn’t exist in engine - https://phabricator.wikimedia.org/T321763 [10:04:23] !log tools.notwikilambda stopped webservice, wiki is being retired (T314880) [10:04:25] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.notwikilambda/SAL [10:22:02] !log tools.notwikilambda start webservice again (PHP 7.4 now) with new lighttpd config to rewrite everything to a very bare index.html explaining the shutdown (T314880); partial SQL dump available in public_html too [10:22:05] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.notwikilambda/SAL [10:30:31] !log tools.bridgebot Double IRC messages to other bridges [10:30:33] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.bridgebot/SAL [10:34:41] !log tools.notwikilambda kubectl delete deployment function-evaluator function-orchestrator pygments-server [10:34:42] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.notwikilambda/SAL [10:34:52] !log tools.notwikilambda kubectl delete deployment function-evaluator function-orchestrator pygments-server (T314880) [10:34:53] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.notwikilambda/SAL [10:38:24] lucaswerkmeister: do you want to try T321990 by yourself? docs are at https://wikitech.wikimedia.org/wiki/Portal:Toolforge/Admin/Kubernetes#Quota_management [10:38:24] T321990: Reset notwikilambda Toolforge tool quotas - https://phabricator.wikimedia.org/T321990 [10:47:48] taavi: oops, sorry about the wrong subscriber/project on t321990 [10:48:25] no worries, also see my question above [10:51:03] ah, I almost missed that question, thanks [10:51:08] right, I suppose I could do it myself ^^ [10:51:13] yeah I’ll give it a go [10:53:02] and I’ll just copy the quota values from a random other tool that has the default quotas? [10:58:01] !log tools.notwikilambda kubectl delete service function-evaluator function-orchestrator pygments-server # T314880 [10:58:04] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.notwikilambda/SAL [11:00:37] !log tools.notwikilambda lowered notwikilambda quotas: count/deployments.apps from 5 to 3, services from 4 to 1 (T321990) [11:00:39] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.notwikilambda/SAL [17:03:07] https://t.me/SpamBot