No major changes, but the “Infer track durations from associated recordings” option in the release editor has been removed for being circular and unsound, because recording durations themselves are automatically inferred from tracks. Thanks again to chirlu and yvanz for their code contributions. The git tag is
- [MBS-9102] – Age calculation attempted when there is not enough data
- [MBS-9136] – “Tracks with sequence issues” report is broken
- [MBS-9138] – Unnecessary double attempt at getting a Commons image
- [MBS-9140] – NewHost: Name of locale with territory does not replace locale code in UI language selector
- [MBS-9142] – Artist-Artist relationship editing dialog does not show up in French
- [MBS-7654] – Remove “Infer track durations from associated recordings” option
This is our first release since the NewHost move, so it’s a mishmash of changes required for that and whatever else people submitted in between.
First, some dependency changes: memcached has been dropped as a dependency. We now use Redis as a cache, which had already been used for storing login sessions. In production we run two separate Redis instances: one as a cache (note: configure the DBDefs settings
PLUGIN_CACHE_OPTIONS) and one as a persistent session store (
DATASTORE_REDIS_ARGS). But it’s also safe (if less flexible) to use a single Redis instance without a
maxmemory setting for both, because cached entries will expire by default. So if you already had Redis running locally, you may not need to make any changes to your configuration.
This release also requires the Perl module
DBD::Pg to be version 3, which you may already have. If not, you can upgrade only that module with this command:
Thanks also to chirlu for upgrading reCAPTCHA on our registration page (which has hopefully reduced new spam accounts), Zastai for fixing some oversights in our JSON webservice, and reosarevok for removing the restriction on score URLs.
The git tag is
- [MBS-8762] – ISNI doesn’t appear on JSON WS
- [MBS-9035] – Coro dependency causes build failure on Perl 5.22 and newer
- [MBS-9091] – JSON WS: Aliases do not include begin/end date and ended flag
- [MBS-9127] – NewHost: UI language does not match “lang” in cookie
- [MBS-9132] – cannot add an alias (area)
- [MBS-9031] – Replace all usages of memcached with redis
- [MBS-9130] – Upgrade to new reCAPTCHA (version 2)
- [MBS-9096] – Upgrade DBD::Pg to version 3
- [MBS-9110] – Disable the score whitelist
I’m pleased to report that our nightmare of finding/reconstructing the missing replication packets is finally over!
Through many heroic hours of work, Bitmap and Chirlu have reconstructed the missing replication packets. All clients should now be on their way to being up to date. We’ve learned a number of lessons (some good, some bad — that’s life, right?) in this ordeal and we hope to avoid these issues in the future.
An integral part of this recovery process were a number of people from our community who helped us: Users mbcz, rembo10 and xeam sent us their complete DB dumps! Bitmap used these to sanity check and diff several other database to finally extract the missing packets. Thank you for dropping what you were doing and sending us a few GB of data over blazingly fast connections. Without you this would not have been possible; and this is not an exaggeration. Thank you!
After some more rest we’re going to continue to put out smaller fires that remain from the move to NewHost, but for now, the big fires are put out. Just in time for the weekend!
In the 11 year history of the replication stream we’ve had to have users restart their stream about 3-4 times because of problems on our end. Zero would’ve been nicer, but I’m proud that we’ve been able to make this system work for so long. On a daily basis we seem to have about 400 replicated copies of MusicBrainz running all over the world. Clearly this part of our service is well used and I sleep a little better at night knowing that our most critical data is backed up across the globe.
Just for fun, here is a graph of the replication API usage over the last 6 months:
Towards the end the graph shows the week plus long break, then a small blip as some of our replicas got unstuck yesterday and the much larger spike shows the rest of the replicas getting unstuck. Now, as to what caused the blip in mid-October — I have no idea.
Anyways, please accept my apologies for the replication stream outage and keep replicating!
Today we have more URL cleanup and general link fixes from chirlu & yvanz. Thanks to those two again.🙂 This’ll be the last musicbrainz-server release before we move to our new hosting facility. But that move should be done within two weeks, so hopefully the next release won’t be delayed. Thanks again for your patience.
The git tag is
- [MBS-7164] – URL cleanup doesn’t allow iTunes “Song” download links
- [MBS-9044] – iTunes: cleanup “geo.itunes” and block/cleanup “linkmaker.itunes” links
- [MBS-6314] – iTunes sidebar links should specify country
- [MBS-8802] – Clean up iTunes audiobook and podcast URLs
- [MBS-9079] – Clean up Wikidata URLs with “/entity”
- [MBS-8269] – Disallow Commons gallery pages and categories
- [MBS-9078] – Improve URL cleanup for Wikimedia Commons
- [MBS-9087] – Link to current VIAF URL format
With a looming deadline for switching to our new hosting facilities (early November), we didn’t have any release last month, and this one is several days late. But we’ve got some good contributions from chirlu and yvanz, especially in the area of URL validation and cleanup, which we’re finally releasing. Much of yvanz’s work has been to refactor our URL cleanup code so that it’s stricter and more robust. Thanks, chirlu & yvanz! You can view the complete changelog below.
The git tag is
- [MBS-8744] – Block Generasia URLs from Releases
- [MBS-9069] – Submitting cover art with a long comment fails silently
- [MBS-8796] – Set a referrer policy for HTTPS pages
- [MBS-9012] – New Discogs image URLs need cleaning up into release URLs
- [MBS-9053] – Clean up commons.m.wikimedia.org into the non-mobile site
- [MBS-9072] – Verify that tport is an integer
- [MBS-5733] – Allow “otherdatabases” to be validated in URLCleanup
- [MBS-6378] – Add tests for validationRules constraints in URLCleanup.js
This release features some more URL cleanup improvements from Yvanz, as well as a couple UI fixes, and some new events in our timeline graph from Mineo. Thanks, Yvanz and Mineo!
The git tag for today’s release is
v-2016-08-15. (Note: This blog post was published a day late.)
- [MBS-8301] – Relationship tree misrepresented in the relationship editor
- [MBS-9042] – Misaligned rows in editor profile general information using some languages
- [MBS-4864] – Add more events to the timeline
- [MBS-9038] – Add ChangeTip, Flattr, Patreon, PayPal.Me and Tipeee to the sidebar and autoselect
- [MBS-9039] – Add Kickstarter and Indiegogo to the sidebar and autoselect
We have one URL cleanup fix this week for ResidentAdvisor links — thanks to Yvanz for working on that! We’re still working very hard on moving to a more reliable hosting platform, which is why this week’s release is a small one again. Most of our services have been ported to Docker at this point, and we’re planning to start testing the deployment of these soon. We appreciate everyone’s patience!
The git tag is
- [MBS-8148] – ResidentAdvisor reviews get selected as Other Database