#metabrainz

/

      • mukti has quit
      • Jigen joined the channel
      • LupinIII has quit
      • mukti joined the channel
      • Goemon joined the channel
      • Jigen has quit
      • ApeKattQuest has quit
      • ApeKattQuest joined the channel
      • ApeKattQuest has quit
      • ApeKattQuest joined the channel
      • d4rk-ph0enix joined the channel
      • d4rkie has quit
      • Sintharu has quit
      • holycow23[m] joined the channel
      • holycow23[m]
        Hey lucifer, just wanted to check in, if the dump is ready for use
      • lucifer[m]
        holycow23: not yet
      • _BrainzGit
        [listenbrainz-server] 14amCap1712 merged pull request #3284 (03master…sample-dumps): Add sample data dumps https://github.com/metabrainz/listenbrainz-serv...
      • vardhan joined the channel
      • zas[m]
        yvanzo The performance of queryResultCache is good for most collections but for few, reading https://solr.apache.org/guide/solr/latest/confi... "Caches are cleared after a commit and usually need to be re-populated before their benefit can be seen again. To counteract this, caches can be "warmed" before a new searcher is considered opened by automatically populating the new cache with values from the old
      • cache."
      • I checked default config for solr 9.7.0 (/opt/solr/releases/solr-9.7.0/server/solr/configsets/_default/conf/solrconfig.xml):... (full message at <https://matrix.chatbrainz.org/_matrix/media/v3/...>)
      • So autowarmCount = 0, it means no autowarm, perhaps we should try to enable it for release collections and see if it is better
      • for small collections, it seems cache performance is rather good, even 100% hit ratio (for series collection for example), but for release & release-group we reach max 5%
      • the question is whether we can improve that or not, either by increasing cache size and/or use autowarming
      • I'm not sure how it is configured rigth now, we have per-collection configsets in /etc/solr, but https://solr.apache.org/guide/solr/latest/confi... says solr cloud use zk upconfig for that. Ping me when you are around, I'd like us to test if tweaking autowarm leads to any change
      • Kladky joined the channel
      • You can see queryResultCache performance per core in https://stats.metabrainz.org/d/ad7f0753-902c-4a...
      • I think the performance is bad for collections that change often (the cache is cleared after each commit with current config), hence the question about autowarm (=keeping old entries after a commit)
      • Sintharu joined the channel
      • Sintharu has quit
      • Maxr1998_ joined the channel
      • Maxr1998 has quit
      • Sintharu joined the channel
      • Sintharu has quit
      • mamanullah7[m] joined the channel
      • mamanullah7[m]
        hey lucifer this is db schema which i'll be adding for funkwhale is there any changes required?... (full message at <https://matrix.chatbrainz.org/_matrix/media/v3/...>)
      • * hey lucifer this is db schema which i'll be adding for funkwhale is there any changes required?... (full message at <https://matrix.chatbrainz.org/_matrix/media/v3/...>)
      • * hey lucifer this is db schema which i'll be adding for funkwhale is there any changes required?... (full message at <https://matrix.chatbrainz.org/_matrix/media/v3/...>)
      • lucifer[m]
        [@m.amanullah7:matrix.org](https://matrix.to/#/@m.amanullah7:matrix.org) this looks about right. as for the documentation about what part exactly?
      • Sintharu joined the channel
      • suvid[m] joined the channel
      • suvid[m] uploaded an image: (58KiB) < https://matrix.chatbrainz.org/_matrix/media/v3/download/matrix.org/zQFXlHwzbAzWznrBgkwpeXZh/image.png >
      • suvid[m]
        Hi lucifer... (full message at <https://matrix.chatbrainz.org/_matrix/media/v3/...>)
      • this is the zip file structure for reference
      • * is the extended streaming history zip file
      • mamanullah7[m]
        lucifer: documentation like any standard format to follow like particular table should be added in particular files or in existing once
      • like I'll add this via migration so should I directly create a new funkwale.py in /db/funckwhale.py
      • suvid[m]
        also, where should I make the utility function to upload files?
      • should i put it in the misc directory?
      • lucifer[m]
        m.amanullah7: for migrations, you will have to create a SQL file here. it should contain any new SQL commands that you added to the various SQL files. if you are modifying something existing, there should be appropriate `ALTER` commands for that as well.
      • as for the documentation, there is nothing specific as such but I would suggest to look at what the existing services are doing.
      • mamanullah7[m]
        Okay sure thanks
      • lucifer[m]
        suvid: the code to upload zip files can go in `views` for now i think or in `api_tools`, don't worry too much about it for now. we can discuss the exact location for it later. the ZIP file should be stored by the backend at a certain location and then you should create a task entry in the `background_tasks` table. store the path of this file along with the `user_id` in the metadata of that task. then add a handler in
      • `background_tasks` (https://github.com/metabrainz/listenbrainz-serv...) to handle the zip file processing. the processing code itself can go in a separate file in that directory. I think you should use a regex to determine the order in which the files should be processed. and process them in earliest to newest order. don't try to combine
      • files. process the files one at a time.
      • Rotab has quit
      • texke joined the channel
      • texke has quit
      • _BrainzGit
        [listenbrainz-server] 14MonkeyDo opened pull request #3285 (03master…hide-lastfm-warning): LB-1728: Hide lastfm warning when connected https://github.com/metabrainz/listenbrainz-serv...
      • BrainzBot
        LB-1728: Solve "Hide recent listening information... last.fm privacy settings" text confusion https://tickets.metabrainz.org/browse/LB-1728
      • texke joined the channel
      • HemangMishra[m] has quit
      • vardhan has quit
      • texke has quit
      • Sintharu has quit
      • _BrainzGit
        [musicbrainz-server] 14mwiencek opened pull request #3550 (03production…fix-gpg-sign): Fix `gpg_sign` function calls https://github.com/metabrainz/musicbrainz-serve...
      • [listenbrainz-server] 14anshg1214 merged pull request #3282 (03master…fix-spotify-progress): BrainzPlayer: Fix spotify progress bar and duration https://github.com/metabrainz/listenbrainz-serv...
      • bitmap[m] joined the channel
      • bitmap[m]
        yvanzo: hi, the [missing search indexes dumps](https://community.metabrainz.org/t/20250524-data-dump-for-search-indexes-missing/762296) should be fixed by PR 3550 ^, I'm working on bundling and rsyncing the failed dumps by hand
      • mamanullah7[m]
        <mamanullah7[m]> "hey lucifer this is db schema..." <- hey lucifer while going through existing db implementation i find `error_message` columns to store error msg in existing tables should i also add this for better error handling when imports fail etc.
      • Jade[m]
      • At this rate my blog might be worth subscribing to lol
      • aerozol[m] has quit
      • Kladky has quit
      • Sintharu joined the channel
      • Sintharu has quit
      • prout has quit
      • prout joined the channel