#metabrainz

/

      • bitmap
        yes, in addition to any trivial schema changes, we'd like to bump the versions of node.js and perl required
      • CatQuest
        :O@
      • ruaok
        I've wanted those many times, they will make life easier.
      • CatQuest
        reosarevok: i want both of those
      • bitmap
        I'd love to work on that one
      • ruaok
        but there was a reason for NOT using them when we designed the schema in 2008. and I don't recall what it was. nor are any of the people around who would know.
      • reosarevok
        CatQuest: I know, but we have one month to write all the code and one to test, so that might need to wait for the next one
      • ruaok: I suspect the reason is that the ACs are a) not super stable and b) a lot
      • CatQuest
        lol why did we not have this conversation in january!
      • alastairp
        ruaok: off the top of my head it feels like it might be something that changes quite a bit
      • oh, that's basically what reosarevok said
      • CatQuest
        hm
      • yvanzo
        ruaok: would be very helpful to restore the rationale behind that.
      • bitmap
        one reason I see is that we currently assume ACs are immutable, i.e. can be cached forever
      • ruaok
        then this change is now fine?
      • CatQuest
        wait but they have some kind of rowid right? you can link to "edit a n artistcredit"
      • bitmap
        if we add mbids that would seem to imply you could edit them while keeping the mbid constant
      • CatQuest
        hm
      • reosarevok
        CatQuest: yes, they have a row id :)
      • bitmap: yes, I would expect if I edit an AC with Edit AC, the MBID wouldn't change
      • But I guess nowadays it would?
      • CatQuest
        who uses "edit AC" amiright?
      • reosarevok
        Hopefully someone, now that I made it so you can actually see what it changes :D
      • CatQuest
        lol
      • bitmap
        well, the row ID would change for sure. we use a `find_or_insert` method to swap them (and then deleted any unused ones)
      • I don't think we ever actually UPDATE rows in the artist_credit_name table outside of upgrade scripts
      • reosarevok
        So that find_or_insert would need to either keep gid, or if merging, add a redirect?
      • Sounds doable, but
      • bitmap
        yeah
      • Etua joined the channel
      • it might also complicate keeping some materialized tables up to date, but
      • yvanzo
        It seems that point should be more discussed/detailed?
      • ruaok
        yeah, outside of this meeting, methinks.
      • bitmap
        right
      • reosarevok
        None of these seem super problematic, so if they would also be useful for LB I'd say let's try it...
      • ruaok: can we tentatively announce but say we might decide not to do it after further consideration?
      • I guess the main issue is unexpected new changes, not not doing some
      • v6lur joined the channel
      • (re: announcing early)
      • ruaok
        lets talk about it tomorrow and then announce the changes after the meeting.
      • or close the meeting and talk about it now.
      • fine by me if I can get a 5 mins break.
      • reosarevok
        We should quickly talk about min perl version
      • I think?
      • bitmap
        we can probably do that after the meeting
      • yvanzo
        +1
      • reosarevok
        Ok :) In that case, anything in that list that seems like a bad idea that needs to be decided in the meeting?
      • ruaok
        agreed.
      • reosarevok
        If not I guess we're done(ish)
      • Freso
        So no decisive decision on the AC MBID, but other than that everything on that list?
      • ruaok will be back in a few mins
      • Oh, and other than the two reosarevok already noted.
      • CatQuest
        so reos snippet? becasue i'm aaaall for per medium artwork <3
      • aw
      • reosarevok
        Freso: Probably, but I guess we'll discuss a bit more after the meeting :)
      • Some need tickets made still too so :)
      • yvanzo
        Freso: only finished/merged stuff for now, the rest is proposed but to be decided.
      • Freso
        Alright.
      • But it sounds like that’s all for now?
      • reosarevok
        I think so
      • Freso
        And no further items on the agenda.
      • And no okno_ that’s showed up that I’ve noticed.
      • So I think this wraps up the meeting!
      • reg[m] joined the channel
      • Thank you for your time everyone! Stay safe out there!
      • CatQuest
        i bet okno_ is on a dst thing
      • Freso
        </BANG>
      • CatQuest
        thanks freso
      • alastairp
        thank you Freso
      • CatQuest
        threso
      • alastairp
        (and everyone else!)
      • you all do amazing work
      • Mr_Monkey
        Thanks Freso :)
      • yvanzo
        Thanks!
      • shivam-kapila
        Thanks everyone
      • ruaok is bak
      • ShivamAwasthi has quit
      • bouhormq joined the channel
      • BrainzGit
        [musicbrainz-server] reosarevok opened pull request #1986 (master…MBS-11448): MBS-11448: Pass Place->new() call through to_json_object https://github.com/metabrainz/musicbrainz-serve...
      • reosarevok
        bitmap, yvanzo ^
      • Also, ruaok, bitmap, yvanzo: ok, schema change stuff then
      • So, what are the reasons we found *not* to give mbids to ACs?
      • bitmap back
      • ruaok
        churn.
      • bouhormq has quit
      • but having AC IDs would make a lot of recommendation work easier.
      • tracking arrays of artist ids is not fun.
      • bitmap
        with the materialized artist RG tables I'm adding, we'll need additional triggers on the artist_credit tables to handle updates to them
      • so it does complicate things there slightly, but I think the benefits might outweigh the costs
      • ruaok
        would it make sense to perhaps have it as an undocumented feature for a while? in case we realize that it was a bad idea, we can undo it.
      • yvanzo
        reosarevok: I don’t the reason back in 2008 ruaok mentioned, but ACs are quite volatile.
      • ruaok
        yvanzo: can you characterize that volatility?
      • because of constantly new collaborations?
      • yvanzo
        because of frequent typos
      • bitmap
        I guess the fact that changing one tiny thing in the name throws out the old AC and replaces it with a new one
      • ruaok
        ok. makes sense.
      • not a dealbreaker for me.
      • ok, can anyone find a reason why we should not do this?
      • yvanzo
        bitmap: When one renames an artist, it does not create a new MBID. Can we have the same for AC?
      • bitmap
        yes, that would be similar to the 'Edit artist credit' feature on artist /edit pages
      • ruaok
        it should be possible since ACs are refs to artists. keep the refs, update the text, but not its ID
      • bitmap
        (though that technically replaces the old AC with a new one)
      • ruaok
        I would be in favor of that.
      • bitmap
        besides remembering the invalidate the cache in that case, I don't think it should hurt
      • reosarevok
        bitmap: can you add a ticket with all the things to remember? I think you have the clearest idea
      • yvanzo
        That was possibly the reason it was not made in 2008. I don’t see any other for now.
      • bitmap
        but we'll want to review all triggers that watch for AC changes
      • any current trigger would expects the AC to materially change only if the 'artist_credit' column for the entity changes
      • probhav has quit
      • ruaok needs to run off
      • ruaok
        do you need me for anything else?
      • bitmap
        should we discuss the perl version bump real quick?
      • debian oldstable has 5.25, stable has 5.28
      • yvanzo
        ok
      • ruaok
        sure. not that I am up on perl, but hey.
      • bitmap
        sorry 5.24 for oldstable
      • we currently on 5.18
      • can we safely bump that to 5.28? or should we stick with 5.24 from oldstable?
      • atj has quit
      • reosarevok
        5.28 is still pretty old, right? It doesn't seem like a huge ask
      • Assuming it doesn't break stuff we do too much and make us fix it :p
      • bitmap
        5.28 is from 2018
      • 5.24 from 2016 iirc
      • yvanzo
        currently required node.js 10.15 is 2018 at least
      • atj_ joined the channel
      • bitmap
        yeah, though that's EOL this april
      • yvanzo
        I mean: that seems ok to require perl from 2018 if we already require node from 2018.
      • atj_ is now known as atj
      • bitmap
        idk if there is a perl equivalent of the nodesource repos though
      • if people are stuck on old versions of debian/ubuntu, it may not be as easy
      • reosarevok
        Why would someone be stuck that far behind?
      • ruaok
        most people these days use musicbrainz-docker to install their own copy of MB.
      • I strongly discourage people from trying their own setup.
      • if they still do and on an old OS.... not much love for that cause
      • IMHO you can go to something more recent.
      • why not the most recent?
      • yvanzo
        bitmap: in fact 5.28.2 is 2019
      • bitmap
        ruaok: good question, we should certainly encourage people to use the VM in any case
      • I guess we could tentatively go with the most recent and see who complains?
      • ruaok
        I have been, very much so. now that is has excellent support from yvanzo, it is insane not to use it.
      • and see what tests break, I guess.
      • bitmap
        yvanzo: right, the .0 was 2018
      • yvanzo
        and xenial (our current base image) has 5.22.1
      • bitmap
        I've already been using .32 locally, so probably nothing will break even
      • but we've been pretty conservative about using experimental features and whatnot
      • yvanzo
        I don’t have any strong take about it: as long as latest versions are not less stable.
      • ruaok
        good point. second to last version, perhaps?
      • yvanzo
        bitmap: You know better the level of stability that can be expected from perl versions :)
      • bitmap
        they are usually excellent with stability in my experience
      • yvanzo
        I’m using .32 too.