#metabrainz

/

      • ruaok
        I see references to both.
      • 2021-11-15 31948, 2021

      • lucifer
        the PR originally did that. later, it was also updated to add the listen/no-listen flags.
      • 2021-11-15 31950, 2021

      • alastairp
        yes, it makes private dump for playlists and public dump for mbid mapping
      • 2021-11-15 31955, 2021

      • alastairp
        it's misnamed
      • 2021-11-15 31912, 2021

      • alastairp
        updated the title
      • 2021-11-15 31921, 2021

      • ruaok
        ok, thanks.
      • 2021-11-15 31905, 2021

      • lucifer
      • 2021-11-15 31950, 2021

      • lucifer
        oh nvm, i see it refers to 4 dumps now
      • 2021-11-15 31942, 2021

      • ruaok
        why do we have SCHEMA_VERSION_CORE and SCHEMA_VERSION_TIMESCALE? My knee jerk reaction says that we need only one.
      • 2021-11-15 31927, 2021

      • alastairp
        there were previously 2 schema numbers, both named the same thing. this change only makes them explicitly different. however you're right - we discussed this mid-last week
      • 2021-11-15 31936, 2021

      • alastairp
        1 schema version number might be easier to manage. it means that a change in a public table in the pg database will cause the public timescale dumps to also increase
      • 2021-11-15 31956, 2021

      • ruaok
        I dont see an issue with that.
      • 2021-11-15 31910, 2021

      • alastairp
        in terms of real impact on other people... I'm not sure how many people are importing our public (non-listen) dumps anyway
      • 2021-11-15 31922, 2021

      • ruaok
        wild guess? zero.
      • 2021-11-15 31944, 2021

      • ruaok
        I'd love to be wrong. perhaps we'll meet someone who is doing that. that'd be nice too. lol
      • 2021-11-15 31925, 2021

      • alastairp
        while we're talking about this - I think we put these schema numbers in the private dump too, even though we say "This value must be incremented after schema changes on tables that are included in the public dump"
      • 2021-11-15 31934, 2021

      • alastairp
        I guess we've never tried to import a private dump either
      • 2021-11-15 31948, 2021

      • ruaok
        correct
      • 2021-11-15 31935, 2021

      • alastairp
        that is, if we make a private dump, then change the structure of a table, then don't update the schema number (because it's not public), and then dump again, we have 2 differently structured dumps with the same schema
      • 2021-11-15 31955, 2021

      • alastairp
        should we have PRIVATE_SCHEMA, PUBLIC_SCHEMA, LISTENS_SCHEMA then?
      • 2021-11-15 31930, 2021

      • ruaok
        that case feels contrived to me. we don't change schema numbers willy nilly. let's have one and define a policy for when to increment it.
      • 2021-11-15 31908, 2021

      • alastairp
        fine by me. Do you think it needs to be in this PR or should I open a ticket?
      • 2021-11-15 31920, 2021

      • ruaok
        the latter is fine.
      • 2021-11-15 31925, 2021

      • ruaok
        lets get this PR done
      • 2021-11-15 31903, 2021

      • alastairp
        lucifer: did you create a ticket for the discussion we had about disaster recovery of MeB services?
      • 2021-11-15 31952, 2021

      • lucifer
        alastairp: LB-899 is the one I had created before it. but didn't update with the discussion
      • 2021-11-15 31953, 2021

      • BrainzBot
        LB-899: Create a plan for recovering production database in case something goes wrong https://tickets.metabrainz.org/browse/LB-899
      • 2021-11-15 31918, 2021

      • alastairp
        that's good for my purposes, thanks
      • 2021-11-15 31929, 2021

      • alastairp
        LB-1009
      • 2021-11-15 31930, 2021

      • BrainzBot
        LB-1009: Simplify dump schema numbers https://tickets.metabrainz.org/browse/LB-1009
      • 2021-11-15 31921, 2021

      • ruaok
        please have a look and make sure things look ok.
      • 2021-11-15 31923, 2021

      • lucifer
        step 5 and step 6 should not be needed after the PR is merged methink. but alastairp can confirm
      • 2021-11-15 31959, 2021

      • lucifer
        *step 5 and step 6 of Preparing for downtime (15h45)
      • 2021-11-15 31949, 2021

      • lucifer
        ruaok: alastairp: btw when you have some time, https://github.com/metabrainz/listenbrainz-server…
      • 2021-11-15 31920, 2021

      • alastairp
        lucifer: correct, step 5 and 6 are no longer needed. the full dump command you made looks correct
      • 2021-11-15 31928, 2021

      • lucifer
        👍
      • 2021-11-15 31931, 2021

      • alastairp
        can you merge that PR + release?
      • 2021-11-15 31934, 2021

      • lucifer
        sure
      • 2021-11-15 31948, 2021

      • alastairp
        for disabling listenstore we will again make a temporary release with modified config file?
      • 2021-11-15 31955, 2021

      • BrainzGit
        [listenbrainz-server] 14amCap1712 merged pull request #1724 (03master…timescale-dump): Create public (mbid mapping) and private (playlists) timescale tables dump https://github.com/metabrainz/listenbrainz-server…
      • 2021-11-15 31903, 2021

      • lucifer
        yes
      • 2021-11-15 31927, 2021

      • alastairp
        ok, cool
      • 2021-11-15 31936, 2021

      • BrainzGit
        [listenbrainz-server] release 03v-2021-11-15.0 has been published by 14github-actions[bot]: https://github.com/metabrainz/listenbrainz-server…
      • 2021-11-15 31910, 2021

      • lucifer
        should i abort the ongoing dumps too now?
      • 2021-11-15 31921, 2021

      • ruaok
        y
      • 2021-11-15 31927, 2021

      • lucifer
        👍
      • 2021-11-15 31908, 2021

      • lucifer
        alastairp: fyi, i just updated the full dump command in the doc to reuse today's dump id.
      • 2021-11-15 31944, 2021

      • lucifer
        prod updated.
      • 2021-11-15 31938, 2021

      • monkey
        Updating test.LB
      • 2021-11-15 31903, 2021

      • BrainzGit
        [listenbrainz-server] 14MonkeyDo opened pull request #1730 (03master…monkey-listencard-flexbox-improvements): ListenCard responsive improvements https://github.com/metabrainz/listenbrainz-server…
      • 2021-11-15 31947, 2021

      • lucifer
        ruaok: i was thinking to work on the spotify mapping stuff soon. i am thinking to create a table for recording_msid, spotify_album_artist_ids, spotify_album_id, spotify_artist_ids, spotify_id, isrc. thoughts?
      • 2021-11-15 31956, 2021

      • ruaok
        the schema makes sense, though I am not sure that ISRC fits here or should have its own table.
      • 2021-11-15 31908, 2021

      • ruaok
        where and how would you update the mapping?
      • 2021-11-15 31947, 2021

      • lucifer
        for the listens coming in now, i am thinking to run this query just after a match is found by the writer.
      • 2021-11-15 31911, 2021

      • lucifer
        if the mapper finds a match and the listen has this field, update the table.
      • 2021-11-15 31936, 2021

      • ruaok
        ok, makes sense.
      • 2021-11-15 31942, 2021

      • lucifer
        for the "legacy" listens, i was thinking add another column "processed_by_spotify"
      • 2021-11-15 31955, 2021

      • lucifer
        and then do what the writer does currently for match_type
      • 2021-11-15 31932, 2021

      • lucifer
        *processed_for_spotify
      • 2021-11-15 31900, 2021

      • ruaok
        I wonder if it needs legacy listen support stuff.
      • 2021-11-15 31905, 2021

      • yvanzo
        reosarevok: nothing to add, thanks
      • 2021-11-15 31945, 2021

      • lucifer
        do you mean we don't need to scan existing listens or we should use an alternative way to scan existing listens?
      • 2021-11-15 31924, 2021

      • ruaok
        hmm.
      • 2021-11-15 31955, 2021

      • alastairp
      • 2021-11-15 31958, 2021

      • ruaok
        you're mapping against msids -- if that is correct, then you're just recording a match between spotify id and recording_msid.
      • 2021-11-15 31904, 2021

      • alastairp
        docs versioned by release tag
      • 2021-11-15 31919, 2021

      • ruaok
        which is actually already all present in the listens table. that data we can simply query for.
      • 2021-11-15 31923, 2021

      • alastairp
        at least we have up-to-date docs now, but I'm not sure I'm a fan of the url changing on every release we make
      • 2021-11-15 31930, 2021

      • reosarevok
        yvanzo: the blog looks ok too? :)
      • 2021-11-15 31933, 2021

      • alastairp
        lucifer: perhaps going back to merging to `production` is the best idea here
      • 2021-11-15 31947, 2021

      • ruaok
        if, however, you're more into recording a mapping between mbid and spotify, then it needs more thought.
      • 2021-11-15 31953, 2021

      • lucifer
        alastairp: sure, maybe we could the action do it for us :)
      • 2021-11-15 31911, 2021

      • alastairp
        lucifer: yeah, if the action can do that then I'm happy to do it that way
      • 2021-11-15 31919, 2021

      • monkey
        There's also the "latest" tag for the doc versions
      • 2021-11-15 31930, 2021

      • yvanzo
        zas, outsidecontext: I inserted a "read more" block in your last blog post (as discussed during the summit), please let me know if that causes any issue.
      • 2021-11-15 31931, 2021

      • lucifer
        ruaok: uh right, the intent is recording_msid gets us to the mbid through listen_mbid_mapping table.
      • 2021-11-15 31948, 2021

      • lucifer
        spotify -> recording_msid -> recording_mbid
      • 2021-11-15 31954, 2021

      • ruaok
        lucifer: then I think there is no need for this project at all, honestly.
      • 2021-11-15 31904, 2021

      • alastairp
        monkey: I'm not sure if latest is just a pointer to the most recent version, or if it's based on a git tag?
      • 2021-11-15 31912, 2021

      • ruaok
        perhaps a materialized view?
      • 2021-11-15 31917, 2021

      • monkey
        Most recent version I believe
      • 2021-11-15 31900, 2021

      • lucifer
        interesting... makes sense.
      • 2021-11-15 31921, 2021

      • alastairp
        monkey: right, it seems that you're correct. though we still have to see if we can make it work without filling the version popup with a million tags https://usercontent.irccloud-cdn.com/file/pJivcEC…
      • 2021-11-15 31906, 2021

      • monkey
        Ah, yes
      • 2021-11-15 31913, 2021

      • alastairp
        I added an action/trigger on readthedocs to activate this version based on the presence of a new tag matching a regex. it's possible that we can disable old ones with a similar trigger, or make it latest without "activating" it
      • 2021-11-15 31931, 2021

      • lucifer
        ruaok: thinking about it. i am liking the materialized view route but how do we keep timescale play well with it. the listen counts faced issues due to materialzed views right?
      • 2021-11-15 31916, 2021

      • ruaok
        well... cont aggs which are implemented with mat views.
      • 2021-11-15 31943, 2021

      • ruaok
        I guess the question is this: what is our use case for the mapping? To do content resolution for brainzplayer?
      • 2021-11-15 31902, 2021

      • lucifer
        yes that and feed data to MB
      • 2021-11-15 31950, 2021

      • ruaok
        we should try a materialized view and see how that behaves. then we can plan further.
      • 2021-11-15 31958, 2021

      • lucifer
        sounds good
      • 2021-11-15 31908, 2021

      • yvanzo
        reosarevok: Was MBS-12067 affecting beta only? If so, it doesn’t have to be in release notes.
      • 2021-11-15 31909, 2021

      • BrainzBot
        MBS-12067: Beta: ISE getting relationship data for timeline leads to blank space https://tickets.metabrainz.org/browse/MBS-12067
      • 2021-11-15 31951, 2021

      • yvanzo
        (Release field is usually set to "beta" instead.)
      • 2021-11-15 31901, 2021

      • reosarevok
        Oh, true, I missed that
      • 2021-11-15 31928, 2021

      • reosarevok
        Fixed, will remove from post
      • 2021-11-15 31930, 2021

      • reosarevok
        yvanzo: done :) Otherwise ok to publish?
      • 2021-11-15 31918, 2021

      • BrainzGit
        [listenbrainz-server] 14MonkeyDo opened pull request #1731 (03master…monkey-MBIDs-in-UserChartEntity): Add missing MBIDs to UserChartEntity items for display https://github.com/metabrainz/listenbrainz-server…
      • 2021-11-15 31956, 2021

      • outsidecontext
        yvanzo: if that was how it was decided that's fine to me. I just need to remember for the next blog post (and figure out how to do it)
      • 2021-11-15 31928, 2021

      • yvanzo
        reosarevok: I added an acknowledgement for the contributed patch. The rest looks fine. :)
      • 2021-11-15 31934, 2021

      • reosarevok
        Thanks!
      • 2021-11-15 31944, 2021

      • BrainzGit
        [musicbrainz-docker] release 03v-2021-11-15 has been published by 14reosarevok: https://github.com/metabrainz/musicbrainz-docker/…
      • 2021-11-15 31936, 2021

      • reosarevok
        Release cycle complete then, I think :)
      • 2021-11-15 31940, 2021

      • yvanzo
        outsidecontext: It's been “decided” to give it a try at least :) I suggested using it to ease browsing through latest blog posts.
      • 2021-11-15 31920, 2021

      • outsidecontext
        it makes sense, some posts are long and if you are not interested you need to scroll a long way for the next post
      • 2021-11-15 31955, 2021

      • reosarevok
        Yeah, and it's easy to click and see more :)
      • 2021-11-15 31940, 2021

      • yvanzo
        outsidecontext: For MBS, we use a draft as a template to create new posts (by clicking on “…” > "Copy post”), so we don’t have to remember how to do it. I just created a general-purpose template/draft that can be used or modified for Picard.
      • 2021-11-15 31906, 2021

      • BrainzGit
        [listenbrainz-server] 14MonkeyDo merged pull request #1731 (03master…monkey-MBIDs-in-UserChartEntity): Add missing MBIDs to UserChartEntity items for display https://github.com/metabrainz/listenbrainz-server…
      • 2021-11-15 31904, 2021

      • outsidecontext
        yvanzo: we also usually use an existing post to start with, depending on the release
      • 2021-11-15 31927, 2021

      • tandy
        @musicbrainz team, is there any plan to update the current genres?
      • 2021-11-15 31900, 2021

      • tandy
        its a shame that "City Pop", and a number of other genres aren't recognised ..
      • 2021-11-15 31948, 2021

      • alastairp
        tandy: you can propose for tags to get turned into genres, reosarevok takes care of that
      • 2021-11-15 31903, 2021

      • tandy
        oh awesome
      • 2021-11-15 31910, 2021

      • alastairp
        of course, you might find people arguing with you that City Pop isn't a real genre!
      • 2021-11-15 31911, 2021

      • tandy
        where can i do that?
      • 2021-11-15 31927, 2021

      • Lotheric
      • 2021-11-15 31932, 2021

      • Lotheric
        make a style ticket
      • 2021-11-15 31943, 2021

      • tandy
        alastairp: >:()
      • 2021-11-15 31954, 2021

      • reosarevok
        city pop *should* already be a genre?
      • 2021-11-15 31907, 2021

      • reosarevok
      • 2021-11-15 31935, 2021

      • tandy
        oh great, my bad, there were some others, il have a proper look in my library soon
      • 2021-11-15 31942, 2021

      • alastairp
        a "style ticket" means project: STYLE, components "Genres"
      • 2021-11-15 31950, 2021

      • Lotheric
      • 2021-11-15 31954, 2021

      • Lotheric
        like one of those
      • 2021-11-15 31910, 2021

      • alastairp
      • 2021-11-15 31915, 2021

      • alastairp
      • 2021-11-15 31918, 2021

      • alastairp
        <text>Invalid mbid.</text>
      • 2021-11-15 31929, 2021

      • alastairp
        what's more, the error is in xml even though fmt=json ;)
      • 2021-11-15 31948, 2021

      • reosarevok
      • 2021-11-15 31954, 2021

      • reosarevok
        It's the first argument
      • 2021-11-15 31912, 2021

      • alastairp
        reosarevok: that's the link that is on the details page
      • 2021-11-15 31922, 2021

      • reosarevok
        Oh, ffs. Ok :)
      • 2021-11-15 31924, 2021

      • reosarevok
        Will fix
      • 2021-11-15 31929, 2021

      • alastairp
        :)
      • 2021-11-15 31935, 2021

      • reosarevok
        I guess you haven't made a ticket yet? :p
      • 2021-11-15 31946, 2021

      • alastairp
        well, happy to make one after confirming with you that it's a bug
      • 2021-11-15 31914, 2021

      • reosarevok
        Yeah, please do
      • 2021-11-15 31921, 2021

      • reosarevok
        The bug is the link here being borked, not the WS :)
      • 2021-11-15 31908, 2021

      • alastairp
        MBS-12084
      • 2021-11-15 31909, 2021

      • BrainzBot
        MBS-12084: Genre details page link to json ws is incorrect https://tickets.metabrainz.org/browse/MBS-12084
      • 2021-11-15 31936, 2021

      • reosarevok
        Thanks!
      • 2021-11-15 31955, 2021

      • alastairp
        you're welcome
      • 2021-11-15 31938, 2021

      • ruaok
      • 2021-11-15 31940, 2021

      • ruaok was
      • 2021-11-15 31929, 2021

      • zas
        yup, I read it already (and I used the kvm in the past), I was checking java versions I have just right now
      • 2021-11-15 31925, 2021

      • alastairp
        👍
      • 2021-11-15 31914, 2021

      • ruaok
        15:45 action time!
      • 2021-11-15 31923, 2021

      • BrainzGit
        [musicbrainz-server] 14reosarevok opened pull request #2333 (03master…MBS-12084): MBS-12084: Use ? for fmt when it's the first argument https://github.com/metabrainz/musicbrainz-server/…
      • 2021-11-15 31924, 2021

      • ruaok
        I'm tweeting and have taken down the gaga containers.
      • 2021-11-15 31915, 2021

      • ruaok