[17:10:53] since yesterday, Wiki Education has been seeing a wave of intermittent errors related to OAuth login and token-fetching. any pointers to what might be going on? [17:13:36] oh! it's 429 error [17:13:49] that's annoying, having seen that before with login and OAuth tokens [17:13:58] ragesoss: what does the HTTP response body say? [17:14:47] Request served via cp4044 cp4044, Varnish XID 735497657
Upstream caches: cp4044 int
Error: 429, Too many requests (f061ab2) at Thu, 08 Jan 2026 17:11:08 GMT
Sensitive client informationIP address: 2600:[ip]
[17:25:16] i've created an issue: https://phabricator.wikimedia.org/T414114 [23:31:53] I accidentally deleted an article with +1200 edits (I meant to only delete a single one), and when I try to restore it, I keep getting an error message. [23:31:59] To avoid creating high replication lag, this transaction was aborted because the write duration (3.2673449516296) exceeded the 3 second limit. If you are changing many items at once, try doing multiple smaller operations instead. [23:31:59] [7cff12f6-3c48-4794-a63a-76d06ef36647] 2026-01-08 23:30:20: Fatal exception of type "Wikimedia\Rdbms\DBTransactionSizeError" [23:32:01] help help? [23:36:11] what's the question? "try doing multiple smaller operations instead" [23:38:45] so is that "restore 100 diffs at a time" ? [23:39:04] or... [23:39:16] I'm not trying to change them [23:39:54] seems like that might be T239095 [23:39:55] T239095: Undeleting pages with many revision results in DB exceptions - https://phabricator.wikimedia.org/T239095 [23:40:09] yeah undeletion still is not happening in batches iirc [23:40:48] so you have to do the batching manually [23:41:11] .... so, yes, select 20 revisions at a time and restore them? [23:41:37] disclaimer that i'm not an admin on a wiki... but i think you might be able to try with a higher number than that (hopefully) [23:42:12] maybe 500 revisions at a time might work? bit of a guess though... [23:42:12] yeah, you could probably do like 200 or 300 or something in that area I would say [23:42:18] (i defer to zabe) [23:43:25] any solution more efficient than clicking +1200 boxes by hand? [23:43:44] You can try higher, you cannot really do anything wrong here, it would just end in another timeout if you try too many [23:44:15] I would bet someone wrote a userscript for this issue [23:45:05] you wouldn't have any idea what that script is or where to find it, would you [23:47:03] Can't you click, press shift, click and do a range? [23:48:25] Thank you. [23:49:21] TIL [23:59:01] if the error message had said "If you are restoring many diffs at once, try etc", I would have known what to do.