mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] dw_maintenance2022-10-22 03:05 pm

Encoding errors (fix in progress)

Hi all,

First of all, no data has been lost. We can fix the encoding issues you're seeing, but it will take me some time to write and validate a script to do so. I'm working on this now.

Updates

  • I have completed writing the script that will fix things. I've tested it on a few specific accounts and validated that it works.
  • I'm now running it on [community profile] fail_fandomanon which... sorry y'all, your community is chonky and this will take some time. The script has to go clear out bad cache entries in MemCache on top of re-migrating the 13,548,827 comments, so it will be a few hot minutes.
  • I'm going to start running the script on the other ~6,000 accounts that were impacted. This will take a few hours end to end, and I can't predict when any specific account will get fixed. I'll update when they're all done though.
  • All accounts should be fixed. Except FFA, sorry! Y'all are still chugging. Please let me know if you see anything still broken.

Again, sorry for this. Thanks for your patience while we sorted it out.

What Happened

Today we've been doing some database migrations in preparation for an upcoming upgrade, and unfortunately we discovered an incompatibility in one of our systems that caused some errors in the migration. This resulted in some of the migrated entries and comments being copied over incorrectly which is resulting in the weird text you're seeing.

The migration process maintains a copy of all of the existing data that was migrated, in the original form, so we have the original content and can go fix it. This is going to be a somewhat manual process though, as I will have to do some copying of content from one place to another. (Basically, a re-migration, but without the thing that caused the original issue.)

I'll update this post when the problem is fixed. And, as usual, apologies for the issue. When I was testing this last night on my own journal and Dreamwidth's journals, it worked flawlessly -- because I was only running it on one of our migration hosts -- and the problem happened on host #3 (which is a newer host that is running a newer version of Perl.)

katherine: Catra from She-Ra, one eye open, arms crossed (Default)

[personal profile] katherine 2022-10-22 10:14 pm (UTC)(link)
Thank you for the information and plan! The error's made for a surreal reading (and not reading) experience.
sky: (Default)

[personal profile] sky 2022-10-22 10:16 pm (UTC)(link)
Thank you for the update!
dewline: "Thank you kindly" - text only (Thank you kindly)

[personal profile] dewline 2022-10-22 10:16 pm (UTC)(link)
Good to know the work's in progress!
ride_4ever: (TYK)

[personal profile] ride_4ever 2022-10-22 10:30 pm (UTC)(link)
My TYK icon smiles in recognition of your TYK icon.
morrow: (Default)

[personal profile] morrow 2022-10-22 10:17 pm (UTC)(link)
Thank you for the speedy update!
sixbeforelunch: An illustrated image of a woman holding a towering stack of books. No text. (Default)

[personal profile] sixbeforelunch 2022-10-22 10:23 pm (UTC)(link)
Thank you for the update! :)
ride_4ever: (Dreamwidth Shiny)

[personal profile] ride_4ever 2022-10-22 10:29 pm (UTC)(link)
Thank you kindly for the update and for EVERYTHING that Dreamwidth is!
veritas_poet: (Default)

[personal profile] veritas_poet 2022-10-22 10:32 pm (UTC)(link)
As always, thanks to you & the team for all your work!
ex_flameandsong751: An androgynous-looking guy: short grey hair under rainbow cat ears hat, wearing silver Magen David and black t-shirt, making a peace sign, background rainbow bokeh. (reactions: seal of approval)

[personal profile] ex_flameandsong751 2022-10-22 10:40 pm (UTC)(link)
Thank you kindly for the hard work you do to keep this site running, especially on the weekend.
healyg: (:T Frisk)

[personal profile] healyg 2022-10-22 10:44 pm (UTC)(link)
Good to know it's being worked on!
bluedreaming: digital art of a person overlaid with blue, with ace-aro-agender buttons (Default)

[personal profile] bluedreaming 2022-10-22 10:46 pm (UTC)(link)
Thank you!
etfb: (Default)

[personal profile] etfb 2022-10-22 11:03 pm (UTC)(link)
Ƥēŕḟḕƈțƚƴ ṷṅđĕȓșʈɑɲɖȧɓļę. Ħăƥᵱḙṅṧ ấ ĺōţ.
paserbyp: (Default)

[personal profile] paserbyp 2022-10-22 11:19 pm (UTC)(link)
Maintaining legacy Perl code became harder due to fact that language is dead for many years. How will be difficult to migrate to a more modern language?
o_klyueva: (Default)

[personal profile] o_klyueva 2022-10-22 11:43 pm (UTC)(link)
perl is not dead. two new versions were released this year :
5.37 4 months and 3 weeks ago (27 May 2022)
5.36 4 months and 3 weeks ago (27 May 2022)

(no subject)

[personal profile] paserbyp - 2022-10-23 00:47 (UTC) - Expand

(no subject)

[personal profile] o_klyueva - 2022-10-23 01:45 (UTC) - Expand

(no subject)

[personal profile] paserbyp - 2022-10-23 02:08 (UTC) - Expand

(no subject)

[personal profile] fucksock - 2022-10-23 11:26 (UTC) - Expand

(no subject)

[personal profile] azurelunatic - 2022-10-23 12:06 (UTC) - Expand

(no subject)

[personal profile] sine_nomine - 2022-10-23 13:49 (UTC) - Expand

(no subject)

[personal profile] paserbyp - 2022-10-23 13:57 (UTC) - Expand

(no subject)

[staff profile] denise - 2022-10-22 23:53 (UTC) - Expand

(no subject)

[personal profile] dewline - 2022-10-23 00:27 (UTC) - Expand

(no subject)

[personal profile] paserbyp - 2022-10-23 00:48 (UTC) - Expand

(no subject)

[personal profile] azurelunatic - 2022-10-22 23:46 (UTC) - Expand

(no subject)

[staff profile] denise - 2022-10-22 23:59 (UTC) - Expand

(no subject)

[personal profile] paserbyp - 2022-10-23 00:52 (UTC) - Expand

(no subject)

[staff profile] denise - 2022-10-22 23:50 (UTC) - Expand

(no subject)

[personal profile] alchemise - 2022-10-23 00:01 (UTC) - Expand

(no subject)

[staff profile] denise - 2022-10-23 00:59 (UTC) - Expand

(no subject)

[personal profile] paserbyp - 2022-10-23 01:05 (UTC) - Expand

(no subject)

[staff profile] denise - 2022-10-23 01:09 (UTC) - Expand

(no subject)

[personal profile] paserbyp - 2022-10-23 02:11 (UTC) - Expand

(no subject)

[personal profile] dewline - 2022-10-23 00:30 (UTC) - Expand

(no subject)

[staff profile] denise - 2022-10-23 01:00 (UTC) - Expand

(no subject)

[personal profile] paserbyp - 2022-10-23 01:02 (UTC) - Expand

(no subject)

[personal profile] paserbyp - 2022-10-23 01:01 (UTC) - Expand

(no subject)

[personal profile] nenya_kanadka - 2022-11-28 04:50 (UTC) - Expand
alexanderr: (Default)

[personal profile] alexanderr 2022-10-22 11:50 pm (UTC)(link)

> ...a newer version of Perl...

I see!

[personal profile] toaster_hacker 2022-10-23 12:27 am (UTC)(link)
It's downright awe-inspiring how quickly y'all identified the issue, wrote a script to help fix it, and already began implementing it. You're all incredible, thank you for the amazing work!
yuuago: A white cat in traditional Ukrainian clothing. (Cat - Ukraine)

[personal profile] yuuago 2022-10-23 12:32 am (UTC)(link)
Thanks for the info! It was pretty weird to see stuff all scrambled like that. Glad it was a relatively easy fix. <3
hokuton_punch: (heart chibi naono bohra lessthanthree)

[personal profile] hokuton_punch 2022-10-23 12:43 am (UTC)(link)
Thank you so much for figuring it out! ♥

(13.5 million comments - d a m n...)
andraste: The reason half the internet imagines me as Patrick Stewart. (Default)

[personal profile] andraste 2022-10-23 12:44 am (UTC)(link)
I'm now running it on [community profile] fail_fandomanon which... sorry y'all, your community is chonky and this will take some time. The script has to go clear out bad cache entries in MemCache on top of re-migrating the 13,548,827 comments, so it will be a few hot minutes.

... wow, that is a *lot* of arguments about slingbabies and onions. Well done, meme!
sunnymodffa: Crab superimposed over the Crab Nebula (Crab Nebula - greetings)

[personal profile] sunnymodffa 2022-10-23 12:58 am (UTC)(link)
We appreciate your hard work!
denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)

[staff profile] denise 2022-10-23 01:01 am (UTC)(link)
Sorry again about using your community as an inadvertent porthole to an eldritch dimension! We swear we'll clean up the sulfur and the ectoplasm by the time we're done...

(no subject)

[personal profile] sunnymodffa - 2022-10-23 01:07 (UTC) - Expand

(no subject)

[staff profile] denise - 2022-10-23 01:09 (UTC) - Expand
silverflight8: bee on rose  (Default)

[personal profile] silverflight8 2022-10-23 02:03 am (UTC)(link)
Thanks for fixing! And I'm lol-ing at the comment that meme is chonky. Holy crap I hadn't realized how many comments there were, accurate.

Also I must say it is kind of hilarious to browse meme at the moment. It looks like cthulhu posted comments but other people are responding normally and being like "oh yes, I really liked xyz" lmao to complete eldritch horrors of comments.

(no subject)

[personal profile] fyreharper - 2022-10-24 03:08 (UTC) - Expand
lb_lee: M.D. making a shocked, confused face (serious thought)

[personal profile] lb_lee 2022-10-23 02:12 am (UTC)(link)
*opens door* hey guys, what'd I miss--oh. Pardon me. *Retreats, gently shuts door behind me*

(That sounds like a nightmare, had no idea it was even happening.)

[personal profile] stealthsystem 2022-10-25 06:52 am (UTC)(link)
LOL same here. I... kind of want to see some of those Eldritch comments to see how bad the screen reader would butcher them.

[personal profile] nonnie009 2022-10-23 03:57 am (UTC)(link)
Thanks for all your hard work to keep dreamwidth running!

re: The script has to go clear out bad cache entries in MemCache on top of re-migrating the 13,548,827 comments, so it will be a few hot minutes.

13,548,827, wow! Ffa is still in Read-Only User state. I wonder how long it will take to restore everything like it was before.

(no subject)

[personal profile] nonnie009 - 2022-10-23 04:25 (UTC) - Expand
falena: illustration of a blue and grey moth against a white background (Default)

[personal profile] falena 2022-10-23 05:50 am (UTC)(link)

Thank you for the update! Sorry, Mark, I'm sure this is not how you wanted to be spending your Sunday. Sending positive vibes your way.

ordinary_joe_backup: (Default)

[personal profile] ordinary_joe_backup 2022-10-23 06:22 am (UTC)(link)
What a story.

Being involved in software development myself I understand how horrible it is to support a legacy system which is nearly quarter of century old.

Keep up the good work, DW is last LJ implementation worth mentioning.

It is like a piece of art and engineering which worth to be kept alive.

Original LJ is finally dead, servers in Moscow, censorship and russian war propaganda - that's all what left over there.

Clearly muskovites wont have data centers to run it in few years.

Thank you guys for a good work!
paserbyp: (Default)

[personal profile] paserbyp 2022-10-23 02:02 pm (UTC)(link)
Perl not dead yet and LJ not dead also, because Muscovites will re-write LJ from Perl to new language Putin…

(no subject)

[personal profile] ordinary_joe_backup - 2022-10-23 15:22 (UTC) - Expand

(no subject)

[personal profile] paserbyp - 2022-10-23 15:39 (UTC) - Expand

(no subject)

[personal profile] ordinary_joe_backup - 2022-10-23 15:41 (UTC) - Expand

(no subject)

[personal profile] paserbyp - 2022-10-23 15:52 (UTC) - Expand

(no subject)

[personal profile] ordinary_joe_backup - 2022-10-23 18:01 (UTC) - Expand

(no subject)

[personal profile] paserbyp - 2022-10-23 18:24 (UTC) - Expand
evalerie: Valerie (Default)

[personal profile] evalerie 2022-10-23 11:20 pm (UTC)(link)
I've seen too many migrations where nobody kept the original version of what was copied, and then something went wrong, and it was needed. Thank goodness you did!

Thanks for being there keeping everything going!
kikibug13: (Default)

[personal profile] kikibug13 2022-10-25 04:54 am (UTC)(link)
I don't know if the comm issue is related to this problem, but I thought it might be worth dropping a line - currently [community profile] bakerstreet seems to be read-only, no new entries or comments can be posted to it. As it is another rather large comm - 13,896,348 comments received - there was a thought that it might be connected.

Thank you so very much for your work!
sockiness: (Default)

[personal profile] sockiness 2022-10-25 05:27 am (UTC)(link)
This started around 9pm PST and the comm itself still reads as open on the profile, so I'm thinking it might be a glitch? Not sure if it'll fix itself or if it needs help.

(no subject)

[personal profile] kikibug13 - 2022-10-25 05:30 (UTC) - Expand

(no subject)

[personal profile] sockiness - 2022-10-25 05:31 (UTC) - Expand

(no subject)

[personal profile] genteelmonster - 2022-10-25 07:47 (UTC) - Expand

Page 1 of 2