Wednesday, 2020-03-18

*** tetsuro has joined #openstack-placement00:28
*** tetsuro_ has joined #openstack-placement02:53
*** tetsuro has quit IRC02:56
*** tetsuro has joined #openstack-placement04:29
*** tetsuro_ has quit IRC04:32
*** dklyle has quit IRC05:04
*** tetsuro_ has joined #openstack-placement05:32
*** tetsuro has quit IRC05:34
*** evrardjp has quit IRC05:35
*** evrardjp has joined #openstack-placement05:36
*** tetsuro has joined #openstack-placement06:40
*** tetsuro_ has quit IRC06:44
*** tetsuro_ has joined #openstack-placement07:04
*** tetsuro has quit IRC07:07
*** tetsuro has joined #openstack-placement08:35
*** tetsuro_ has quit IRC08:38
*** tetsuro has quit IRC09:00
*** martinkennelly has joined #openstack-placement09:32
*** openstackgerrit has joined #openstack-placement10:46
openstackgerritMerged openstack/os-resource-classes master: setup.cfg: Configure 'python-requires'  https://review.opendev.org/70453310:46
*** martinkennelly has quit IRC11:43
*** martinkennelly has joined #openstack-placement11:48
*** dklyle has joined #openstack-placement14:11
openstackgerritMerged openstack/os-resource-classes master: Switch to hacking 2.x  https://review.opendev.org/71027616:03
*** evrardjp has quit IRC17:36
*** evrardjp has joined #openstack-placement17:36
*** dklyle has quit IRC20:39
*** dklyle has joined #openstack-placement20:40
*** openstackstatus has joined #openstack-placement21:16
*** ChanServ sets mode: +v openstackstatus21:16
*** david-lyle has joined #openstack-placement22:01
*** dklyle has quit IRC22:03
melwittdansmith: hey, I could use some help reasoning about whether to have a server_default here for a consumer type. the last two comments are the relevant part. I am really confused about what to do. https://review.opendev.org/#/c/669170/15 would it really be so bad to have a server_default? it would make things a lot easier AFAICT22:06
melwittand TBC, the patch series began with a server_default and then I got spooked about the bug we had in nova over the instances.hidden field22:07
*** david-lyle has quit IRC22:08
dansmithmelwitt: otp right now, bbl22:27
melwittdansmith: k thanks. it's not urgent, just wanted to leave you a note22:30
melwittbeen struggling with it for awhile and now putting out the help beacon22:31
*** sean-k-mooney1 has joined #openstack-placement23:02
*** sean-k-mooney has quit IRC23:04
dansmithmelwitt: okay but you know that default= is what nailed us on that, not server_default23:19
melwittdansmith: I do. so maybe I'm overthinking it for server_default23:19
melwittserver_default will also backfill, but the database server will do it23:19
dansmithit will? or it will set the default field on the column?23:20
melwittit will23:20
melwittMike's last comment on the review explains the tradeoff23:21
dansmithwell, my preference for all of this is to make these columns nullable and handle the "default" on read ourselves23:22
melwittmaybe I'm premature optimzation-ing but I'm feeling careful after the hidden field thing23:22
dansmithI don't think that mike's last comment says server_default will fill for sure, but let me roll back a few23:23
melwittdansmith: it doesn't but I tried it and it does backfill. and also I googled a lot and learned it backfills23:24
dansmithokay23:24
dansmithwell, then IMHO, the thing to do is make it nullable and handle it on read23:25
dansmithhe did say that regardless, backfilling on large tables will suck with galera23:25
melwittso I started going in the handle null direction but Mike pointed out that will make the queries inefficient23:25
dansmithwelp, I dunno what to say, but data manip during migrations suck for lots of reasons,23:27
dansmithnow including that failure we saw earlier23:27
*** spatel has joined #openstack-placement23:27
melwittyeah..23:28
melwittdansmith: this was what started it https://review.opendev.org/#/c/669170/15/placement/objects/usage.py@135 and then so then I went back to thinking whether I should write online_data_migrations for this or just leave it as null and handle it (like hidden)23:30
*** spatel has quit IRC23:51

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!