[00:02:26] Krenair: there are some worries about tools having hard coded http resource links I think [00:02:42] so mixed content warning/nothing renders [06:27:16] jynus: could you clarify the difference between `VARCHAR(255) BINARY` and `VARBINARY(255)`? I'm getting `ERROR 1071 (42000) at line 3: Specified key was too long; max key length is 767 bytes` if I try to create the quarry table with utf8mb4 with the former [08:06:30] (03PS1) 10Giuseppe Lavagetto: Add mock CA infrastructure for mcrouter [labs/private] - 10https://gerrit.wikimedia.org/r/436738 [08:07:13] (03CR) 10Giuseppe Lavagetto: [V: 032 C: 032] Add mock CA infrastructure for mcrouter [labs/private] - 10https://gerrit.wikimedia.org/r/436738 (owner: 10Giuseppe Lavagetto) [09:46:44] Getting https://i.imgur.com/nYMe0oE.png when trying to ssh in with WinSCP [09:50:10] I got this https://winscp.net/eng/docs/message_unexpected_close [09:51:21] to which host? [10:00:57] login.tools.wmflabs.org [10:02:16] found it. had shell set to sudo su - instead of default [10:02:21] DatGuy: what's your username? [10:02:35] oh, ok [10:22:55] jynus: you saw my message ~4hrs go? [10:24:40] no [10:24:43] but I see it now [10:25:42] utf8mb4 uses up to 4 byes per lenght [10:25:50] binary uses 1 byte per length [10:26:11] if that goes over the limit on a non-dynamic table [10:26:16] it complains [10:26:16] so VARCHAR(255) BINARY would be 255*4 bytes long? [10:26:36] it depends on the actual charset used [10:26:46] what's the significance if 'BINARY' in this case? [10:26:50] no idea [10:27:04] hmm [10:27:05] I guess it is a collation? [10:27:08] I don't know [10:27:17] I degine charset on db, table or with charset [10:28:02] alternatively, you may use larger indexes up to 30XX byes with large_prefix_index [10:28:19] (depends on your configuration and how that the table is defined) [10:28:42] (googling) [10:31:33] https://github.com/wikimedia/mediawiki/blob/master/maintenance/tables.sql#L63 mediawiki uses `varchar(255) binary` just fine [10:32:26] yes, but it setups the charset on the table creation [10:33:14] does mediawiki use utf8mb4? [10:33:29] it doesn't seem to be defined in tables.sql [10:33:58] no [10:34:02] it uses binary [10:34:15] like charset=binary? [10:34:19] yes [10:34:35] $wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary"; [10:34:39] ok [10:34:46] ^ [10:35:28] if 767 bytes is too small, you can allways use dynamic row format, too [10:35:46] e.g. https://gerrit.wikimedia.org/r/#/c/436592/ [10:36:03] seems quite a log if stuffs needed to get that work https://stackoverflow.com/a/43403017 [10:36:30] (looking) [10:37:29] "Beginning with 5.7.7, the system defaults correctly to handle larger fields." [10:37:39] I think on mariadb 10.3, too [10:37:52] but we are not yet there, so it is messy right now [10:39:38] I don't think quarry servers have new mariadbs [10:41:07] I guess I'm going with changing the charset to binary [10:41:20] it is possible, it is just requires more configuration [11:03:13] jynus: heh mariadb 10.3 recently became stable, it’s on homebrew now :) [11:07:04] They saying 10.3 is stable and actually being is a different thing [11:18:30] Konversation? [11:18:41] Is that Conversation? [11:19:18] jynus: yep though I did have a problem once I upgraded [11:19:28] Two of the variable were removed [11:19:41] Causing it to fail to start unless I removed them [11:19:53] But they became default values anyways [11:19:59] oh, that is normal [11:20:15] the problem is the issues you didn't notice, do you know those? [11:21:10] Um nope [11:21:20] It started which what mattered to me :) [11:21:42] that is because there are know unknowns, and unknow unknowns :-) [11:21:57] But homebrew does not install this mariadb on a Mac like Linux so I have to go searching for logs [11:22:00] Lol [11:22:12] if you have a single database you have 1 problem [11:22:26] I have a ton [11:22:29] but if you have like me, 200 databases, you have 200 problems [11:22:30] Phabricator [11:22:35] And terror [11:22:41] Terror = gerrit [11:22:44] Auto spell [11:23:38] so I am happy you are beta testing mariadb for me [11:23:53] I will upgrade when you have run into all the bugs :-) [11:23:58] Lol [11:24:47] I’ve been running 10.2 for quite some time too [11:25:04] we will skip 10.2 completely [11:25:10] Let’s hope java 9 won’t come to homebrew anytime soon otherwise I’m buggered [11:25:28] we have a test host on 8.0 [11:25:41] and I guess will create a mariadb package from 10.3 too [11:25:59] MySQL 8.0? [11:26:00] I want to have options [11:26:02] yes [11:26:10] Wow I wonder what is new to make that big bump [11:26:18] marketing [11:26:19] 8 years since 2010 [11:26:43] there are cool features on both releases [11:27:04] jynus: I did run mariadb 10.2 in labs on a gerrit-mysql host but it just broke [11:27:10] I found way to many bugs [11:27:15] (2 at least) [11:27:19] Year ago or 2 [11:27:27] which is why we wait [11:27:36] databases need mainly 2 things [11:27:37] A lib problem [11:27:39] write data [11:27:41] and read data [11:27:47] Then php-mysql causing segfaulta [11:27:51] Segfaulta [11:28:00] Segfaults [11:28:11] But I think it’s stable now [11:28:16] So may upgrade to it [11:28:26] Again [11:28:50] I did here that mariadb has sequence mode now [11:28:55] Like PostgreSQL [11:30:30] is php7 possible for a tool webservice yet? :/ [11:37:28] * addshore makes https://phabricator.wikimedia.org/T196155 [11:50:48] addshore: would it be better in the grid or in kubernetes? [11:51:05] no preference :) [11:51:45] web tools running in kubernetes can still save tmp files right? ;) (my single dumb check) :D [12:09:07] aaah arturo https://phabricator.wikimedia.org/T195691 is the blocker [12:09:58] oh I see [12:10:16] then please interlink or delete T196155 [12:10:17] T196155: Request php7 tool forge webservice - https://phabricator.wikimedia.org/T196155 [14:06:17] arturo: already done [21:16:00] wow, it has been quiet in here today [21:28:21] it's friday :] [21:49:04] (03PS1) 10Krinkle: Add more Gerrit repos to #wikimedia-perf-bots [labs/tools/wikibugs2] - 10https://gerrit.wikimedia.org/r/436926 [22:10:22] (03CR) 10Krinkle: [C: 032] Add more Gerrit repos to #wikimedia-perf-bots [labs/tools/wikibugs2] - 10https://gerrit.wikimedia.org/r/436926 (owner: 10Krinkle) [22:10:49] (03Merged) 10jenkins-bot: Add more Gerrit repos to #wikimedia-perf-bots [labs/tools/wikibugs2] - 10https://gerrit.wikimedia.org/r/436926 (owner: 10Krinkle) [22:10:58] (03CR) 10jenkins-bot: Add more Gerrit repos to #wikimedia-perf-bots [labs/tools/wikibugs2] - 10https://gerrit.wikimedia.org/r/436926 (owner: 10Krinkle) [22:55:37] !log matrix Added BryanDavis (self) as projectadmin [22:55:38] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Matrix/SAL [23:02:35] !log matrix Usurped empty project for T193964. Added Chico Venancio, Cicalese, Gergő Tisza, and MarkAHershberger as admins [23:02:36] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Matrix/SAL [23:02:36] T193964: Request creation of matrix VPS project - https://phabricator.wikimedia.org/T193964