#metabrainz

/

      • ritiek has quit
      • 2021-08-17 22943, 2021

      • BrainzGit
        [musicbrainz-server] 14reosarevok opened pull request #2221 (03master…MBS-11839): MBS-11839: Convert Remove Relationship Attribute edit to React https://github.com/metabrainz/musicbrainz-server/…
      • 2021-08-17 22940, 2021

      • reosarevok
        yvanzo: for when you're around, we're currently doing "Description: (none)" as "Description : (aucun)". Should that be (aucune)?
      • 2021-08-17 22915, 2021

      • reosarevok rolls his eyes at ruaok https://musicbrainz.org/edit/4577858
      • 2021-08-17 22906, 2021

      • ruaok
        heh. ol skool.
      • 2021-08-17 22945, 2021

      • CatQuest
        wait. wtf am I looking at :D
      • 2021-08-17 22914, 2021

      • reosarevok
        As far as I can understand, picky genitalia
      • 2021-08-17 22927, 2021

      • CatQuest
        or some grouchy cat?
      • 2021-08-17 22955, 2021

      • CatQuest
        diff redirects to https://wiki.musicbrainz.org/index.php?title=Fuss… wich is evne consusing
      • 2021-08-17 22959, 2021

      • ruaok
        mostly just random words for testing.
      • 2021-08-17 22926, 2021

      • CatQuest
        what am getting fro mthis is that sweeds are fussy cats
      • 2021-08-17 22948, 2021

      • reosarevok
        lol, that redirect
      • 2021-08-17 22953, 2021

      • CatQuest
        yes
      • 2021-08-17 22912, 2021

      • BrainzGit
        [musicbrainz-server] 14reosarevok opened pull request #2222 (03master…MBS-11835): MBS-11835: Convert Change Wikidoc edit to React https://github.com/metabrainz/musicbrainz-server/…
      • 2021-08-17 22910, 2021

      • wargreen has quit
      • 2021-08-17 22939, 2021

      • ritiek joined the channel
      • 2021-08-17 22947, 2021

      • wargreen joined the channel
      • 2021-08-17 22929, 2021

      • Zhele_ has quit
      • 2021-08-17 22931, 2021

      • Zhele joined the channel
      • 2021-08-17 22939, 2021

      • BrainzGit
        [metabrainz.org] 14akshaaatt opened pull request #368 (03master…hi_team): Akshat Tiwari addition https://github.com/metabrainz/metabrainz.org/pull…
      • 2021-08-17 22943, 2021

      • BrainzGit
        [metabrainz.org] 14mayhem merged pull request #368 (03master…hi_team): Akshat Tiwari addition https://github.com/metabrainz/metabrainz.org/pull…
      • 2021-08-17 22917, 2021

      • ruaok
        akshaaatt[m]: almost done. your pic should be black and white to match (most) of the others on that page. please open another PR. :)
      • 2021-08-17 22911, 2021

      • ruaok
        everyone: I'm pleased to announce that akshaaatt[m] is now a member of the team! https://blog.metabrainz.org/2021/08/17/welcoming-… https://metabrainz.org/team
      • 2021-08-17 22924, 2021

      • MrClon
        Congratulations, akshaaatt[m]
      • 2021-08-17 22933, 2021

      • akshaaatt[m]
        Thanks a lot ruaok ! I will look into that soon 😃
      • 2021-08-17 22949, 2021

      • akshaaatt[m]
        Thank you MrClon 😄🙌
      • 2021-08-17 22918, 2021

      • akashgp09[m]
        Congratulations akshaaatt 🎉
      • 2021-08-17 22955, 2021

      • akshaaatt[m]
        Thank you akashgp09 !😄🙌
      • 2021-08-17 22944, 2021

      • lucifer
        Congrats akshaaatt[m] :D
      • 2021-08-17 22909, 2021

      • akshaaatt[m]
        Thank you lucifer 💯☺️🙌
      • 2021-08-17 22950, 2021

      • ruaok
        ok, that task is finally done.
      • 2021-08-17 22950, 2021

      • ruaok
        now my country needs me. to fight a glut. of beer. especially here in bavaria. See hetzner.
      • 2021-08-17 22950, 2021

      • ruaok
        bai!
      • 2021-08-17 22933, 2021

      • akshaaatt[m]
        Drinks on me today ruaok, haha!
      • 2021-08-17 22907, 2021

      • ruaok
        you picked a good time. beer is often the cheapest drink on the menu. there is a law here that states at least ONE thing needs to be more cheap than beer. normally apple juice.
      • 2021-08-17 22913, 2021

      • ruaok
        🤯
      • 2021-08-17 22943, 2021

      • akshaaatt[m]
        😂😂
      • 2021-08-17 22913, 2021

      • bitmap
        zas: that's great to hear. i'm sure it was the track paging added to large release pages, yes. I've rarely seen any timeouts in sentry since that was released, and I'm sure those drove up server load
      • 2021-08-17 22908, 2021

      • BrainzGit
        [metabrainz.org] 14akshaaatt opened pull request #369 (03master…pic_fix_akshat): Pic Color Updated https://github.com/metabrainz/metabrainz.org/pull…
      • 2021-08-17 22903, 2021

      • BrainzGit
        [metabrainz.org] 14MonkeyDo merged pull request #369 (03master…pic_fix_akshat): Pic Color Updated https://github.com/metabrainz/metabrainz.org/pull…
      • 2021-08-17 22905, 2021

      • monkey
        Welcome to the team akshaaatt[m] !
      • 2021-08-17 22933, 2021

      • akshaaatt[m]
        Thank you monkey 💯☺️🙌
      • 2021-08-17 22958, 2021

      • piwu
        so re: my wonderful dump to listenbrainz
      • 2021-08-17 22958, 2021

      • piwu
        it does not handle it
      • 2021-08-17 22900, 2021

      • piwu
      • 2021-08-17 22913, 2021

      • piwu
      • 2021-08-17 22934, 2021

      • piwu
        there should be 40-60k tracks, don't remember now
      • 2021-08-17 22956, 2021

      • lucifer
        piwu: can you explain how you were submitting and what issues did you face?
      • 2021-08-17 22937, 2021

      • BrainzGit
        [musicbrainz-server] 14mwiencek opened pull request #2223 (03master…nix-consul-template): Do not render DBDefs.pm with consul-template https://github.com/metabrainz/musicbrainz-server/…
      • 2021-08-17 22936, 2021

      • reosarevok
        ruaok, akshaaatt[m]: there seems to be something broken with that picture in the team page
      • 2021-08-17 22940, 2021

      • reosarevok
        It's... colorful :D
      • 2021-08-17 22925, 2021

      • akshaaatt[m]
        Haha!
      • 2021-08-17 22940, 2021

      • akshaaatt[m]
        I did fix that in the latest PR which monkey merged a whole back.
      • 2021-08-17 22912, 2021

      • akshaaatt[m]
        while^
      • 2021-08-17 22915, 2021

      • monkey
        I'm not currently able to deploy a new version, but it is indeed merged :)
      • 2021-08-17 22928, 2021

      • lucifer
        i can deploy.
      • 2021-08-17 22940, 2021

      • akshaaatt[m]
        What's the step to deploy?
      • 2021-08-17 22929, 2021

      • lucifer
        ssh into meb servers and deploy the docker image.
      • 2021-08-17 22941, 2021

      • akshaaatt[m]
        Okayy
      • 2021-08-17 22956, 2021

      • BrainzGit
        [metabrainz.org] 14amCap1712 merged pull request #365 (03master…amCap1712-patch-1): Use tag to set GIT_COMMIT_SHA https://github.com/metabrainz/metabrainz.org/pull…
      • 2021-08-17 22934, 2021

      • BrainzGit
        [metabrainz.org] release 03v-2021-08-17.0 has been published by 14github-actions[bot]: https://github.com/metabrainz/metabrainz.org/rele…
      • 2021-08-17 22941, 2021

      • reosarevok
        Oh, neat :)
      • 2021-08-17 22919, 2021

      • ruaok
        :-D
      • 2021-08-17 22905, 2021

      • akshaaatt[m]
        Interesting
      • 2021-08-17 22940, 2021

      • lucifer
        prod updated.
      • 2021-08-17 22909, 2021

      • monkey
        thanks lucifer !
      • 2021-08-17 22942, 2021

      • lucifer
        :D
      • 2021-08-17 22901, 2021

      • lucifer
        akshaaatt[m]: once you have the ssh access and the syswiki access, we can teach you the drill
      • 2021-08-17 22948, 2021

      • akshaaatt[m]
        who's waiting then? I'm not!😄 That's cool! lucifer
      • 2021-08-17 22952, 2021

      • akshaaatt[m]
        Btw lucifer I think we should add some future plans to the readme of mb android app. Let me complete the final blog and this readme part by tomorrow.
      • 2021-08-17 22927, 2021

      • bitmap
        reosarevok: yea that's a legitimate error actually, since calling those functions back won't keep 'this'. you can resolve that by just wrapping them in arrow functions though. pushed a commit for that, feel free to squash as appropriate
      • 2021-08-17 22942, 2021

      • BrainzGit
        [bookbrainz-site] 14MonkeyDo merged pull request #684 (03series-entity…relationship-attributes): feat: set relationship attributes value in relationship-editor https://github.com/bookbrainz/bookbrainz-site/pul…
      • 2021-08-17 22940, 2021

      • ritiek has quit
      • 2021-08-17 22938, 2021

      • bitmap
        yvanzo: how have you recovered the sir-prod containers from this "RuntimeError: maximum recursion depth exceeded in cmp" error in the past?
      • 2021-08-17 22933, 2021

      • bitmap
        I worked around it for now by moving the self.connection/self.channel assignments in the code. hopefully the queue starts dropping now
      • 2021-08-17 22955, 2021

      • bitmap
        did you have a patch for that?
      • 2021-08-17 22947, 2021

      • lucifer
        bitmap: i had thought the same but never tried it out on prod when i looked into the issue. https://chatlogs.metabrainz.org/libera/metabrainz…
      • 2021-08-17 22929, 2021

      • lucifer
        akshaaatt[m]: ruaok and zas will decide and coordinate on the access part :). +1 on roadmap.
      • 2021-08-17 22948, 2021

      • bitmap
        yeah, I'm not 100% sure what's correct here, I just moved the self. assignments right after conn/ch are declared
      • 2021-08-17 22954, 2021

      • ruaok
        more zas than I for prod servers.
      • 2021-08-17 22923, 2021

      • bitmap
        not sure if this would cause other issues but at least the queue is draining for now
      • 2021-08-17 22925, 2021

      • ruaok
        bitmap: yvanzo took the day off.
      • 2021-08-17 22934, 2021

      • bitmap
        ah ok
      • 2021-08-17 22935, 2021

      • ruaok
        thanks for looking at that!
      • 2021-08-17 22910, 2021

      • lucifer
        yeah, i wasn't sure of the side-effects hence didn't poke at it. but we can always trigger a full index if something goes awry
      • 2021-08-17 22911, 2021

      • lucifer
        can you point me to your fix bitmap so that i can also take a look?
      • 2021-08-17 22940, 2021

      • bitmap
        lucifer: sure, it's inside the sir-prod container on pink
      • 2021-08-17 22957, 2021

      • lucifer
        👍
      • 2021-08-17 22930, 2021

      • bitmap
        I didn't save the old file (sir/amqp/handler.py) but the changes are isolate to connect_to_rabbitmq so should be pretty easy to find
      • 2021-08-17 22936, 2021

      • bitmap
        isolated*
      • 2021-08-17 22909, 2021

      • lucifer
      • 2021-08-17 22940, 2021

      • bitmap
        yes, that...thanks :)
      • 2021-08-17 22944, 2021

      • lucifer
      • 2021-08-17 22954, 2021

      • lucifer
        here's the readable one.
      • 2021-08-17 22950, 2021

      • bitmap
        so it's trying to ack a message while inside connect_to_rabbitmq, then tries to connect again, I guess?
      • 2021-08-17 22951, 2021

      • lucifer
        i am not sure how that fixed things because self.connection and self.channel are not accessed by `add_handler`.
      • 2021-08-17 22917, 2021

      • bitmap
        hmm
      • 2021-08-17 22918, 2021

      • bitmap
      • 2021-08-17 22958, 2021

      • bitmap
        I guess it does so via the delete_callback
      • 2021-08-17 22913, 2021

      • lucifer
        maybe. btw, when did you apply the patch?
      • 2021-08-17 22958, 2021

      • lucifer
      • 2021-08-17 22958, 2021

      • bitmap
        looking at the graphs, about 19:32 UTC
      • 2021-08-17 22938, 2021

      • bitmap
        oh, I think that happened after I only moved the self.connection assignment. then I updated the patch to move self.channel too
      • 2021-08-17 22954, 2021

      • lucifer
        ah makes sense
      • 2021-08-17 22938, 2021

      • lucifer
      • 2021-08-17 22952, 2021

      • lucifer
      • 2021-08-17 22926, 2021

      • lucifer
        my working theory is that sometimes acking a message fails, so the action_wrapper decorator tries to reconnect to rabbitmq calling `connect_to_rabbitmq` method.
      • 2021-08-17 22954, 2021

      • lucifer
        calling that method re-adds add the callbacks and stuff. and the new added callback then fails setting up a chain reaction.
      • 2021-08-17 22959, 2021

      • lucifer
        One issue here is that we should never try to ack a message if the original channel/connection got closed. if we do it, rabbitmq will close the new connections as well.
      • 2021-08-17 22946, 2021

      • lucifer
      • 2021-08-17 22955, 2021

      • lucifer
        which are these errors.
      • 2021-08-17 22933, 2021

      • lucifer
        the error message shown on the heading is misleading here because we try to access a property of the exception which does not exist, hence throwing another exception but if you see the details, the actual error message is found to be
      • 2021-08-17 22936, 2021

      • lucifer
        `PreconditionFailed(406, u'PRECONDITION_FAILED - consumer ack timed out on channel 1', (0, 0), u'')`
      • 2021-08-17 22954, 2021

      • bitmap
        good point, would that apply to reject/requeue_message too?
      • 2021-08-17 22900, 2021

      • lucifer
        i'll need to check whether it applies to reject and requeue or not.
      • 2021-08-17 22918, 2021

      • lucifer
        i had submitted a couple of patches to improve the exceptions messages for sir in sentry. but they are not deployed yet. i'll ask yvanzo when he is around and see if we can get those out soon.
      • 2021-08-17 22927, 2021

      • bitmap
        ok, if not ping me and I'll get them deployed
      • 2021-08-17 22900, 2021

      • bitmap
        from your investigation though it sounds like we should be checking that the connection/channel are still open in either action_wrapper or callback_wrapper
      • 2021-08-17 22947, 2021

      • lucifer
        indeed, we should check for whether the connection/channel are opened or not and only retry if rabbitmq allows in that scenario.
      • 2021-08-17 22906, 2021

      • MRiddickW joined the channel
      • 2021-08-17 22935, 2021

      • piwu
        lucifer: search for the user / link in the chat log; essentially submitted whole spotify dump via api in (iirc 5) batches of up to 10k at a time
      • 2021-08-17 22918, 2021

      • piwu
        idk I should probably move it to forum, now that other chat has flushed the topic
      • 2021-08-17 22915, 2021

      • Sophist-UK has quit