Thank god that's over!

So we're back, with no loss of time on the site (no r-word), as promised.

You may have already read the explanation of what happened on our downtime message, but if you missed it (or want to know more), I'll go ahead and explain it here.

For the past few months, one of our biggest threats to stability has been that our database file is gradually becoming corrupted (think of someone pulling files out of a filing cabinet and tossing them all over the floor). We're currently talking to MySQL, the people who make our database, and trying to determine if this is a problem in our usage, or (more likely) a bug in the database program itself, in which case we will help them track it down and fix it.

The temporary solution to this is a complex procedure where we dump the database completely and "re-import" it, creating a totally new database file free of any corruption. There is a way we can do this transparently, with only minimal downtime. The procedure takes about a day.

Unfortunately, we were too late - the site crashed while we were in the middle of dumping the database. Both copies of the database were so corrupt that they would crash immediately upon being loaded.

Our first choice, after realizing that we had this problem, was to restore from a backup made earlier that day, and then "replay" all of the events on Subeta that had happened that day (from about 10:30 am that morning until 7:45 pm when the site crashed). This is possible because the database logs all changes, and we can use those logs to replay events.

However, this method of recovery proved ineffectual - replaying yesterday's events against the backup merely brought the database to the same corrupt state that it was in before.

So we had no other choice but to go ahead and finish dumping and reimporting data (from the backup made yesterday morning). Once that completed (around 1:15 this afternoon), we began replaying yesterday's events, until the site caught up completely, and we had a copy of the database free of corruption.

There are upsides, however. Dumping and reimporting the database optimizes it (it shrank by about 66% as a result). An optimized database is a faster database.

So yeah, that's the whole story. We're working with MySQL to fix the corruption issue, and if that is taking too long or not turning out the way we want it to, we are going to look into alternative database systems. One way or another, we'll find a solution to the problem.

--Alex

December 31, 1969, 7:00 pm by GreenRowan
Avatar Border
User Avatar

I can't tell you how much it means to have you communicate and explain to us. Your hard work is appreciated, as is your attention to your customers and players!

December 31, 1969, 7:00 pm by iamnotepad
User Avatar

Keep up the hard work guys - I'm grateful you guys keep us in the loop on this stuff I'm cool with down time if it means less (eventually) later on Hopefully you guys can find a solution soon!

December 31, 1969, 7:00 pm by Deleted User

Thanks for explaining everything to us, Alex. We appreciate your hard work! Keep it up! I hope things go well for you.

December 31, 1969, 7:00 pm by Tennyo
User Avatar

Well glad you could fix it!

December 31, 1969, 7:00 pm by Mish
Avatar Border
User Avatar

Thank you sooo much for all your hard work!!!!

December 31, 1969, 7:00 pm by Mish
Avatar Border
User Avatar
December 31, 1969, 7:00 pm by Sirenia
User Avatar

thank you for all your hard work and for keeping us informed and i too realised how much i missed the site but i found out there is sun and grass and things outside wow it was awesome lol.your subeta is so great and you all get involved in making it a great fun place even with the bad .thanks again.

December 31, 1969, 7:00 pm by znogirl
User Avatar

Thanks for keeping the explanation simple, Alex. You guys work so hard! And your efforts are very much appreciated.

December 31, 1969, 7:00 pm by HighQueenSelundar
Avatar Border
User Avatar

I have no idea what most that meant as I am technologically illiterate...all i want to say is I am so glad Subeta is back! I was starting to have withdraws!

December 31, 1969, 7:00 pm by Deleted User

to**

December 31, 1969, 7:00 pm by Deleted User

thanks alex and how do you ask someone do dance??

December 31, 1969, 7:00 pm by Gitanha_534
User Avatar

Hurra!!! here we are again

December 31, 1969, 7:00 pm by Aperture_168
User Avatar

Thanks for keeping us up to date! I know that we all really do appreciate it. And thank you to the awesome staff who've been working so hard on this for us.

December 31, 1969, 7:00 pm by Deleted User

=o Did i loose gold account days? = Argh

December 31, 1969, 7:00 pm by YeranceK
Avatar Border
User Avatar

Thanks for the explaination and that u all worked so hard to get it back up and with no loss to us users Great Job! I know we all appreciate it (Although we did miss the site and were bored out of our minds lol) All better now

December 31, 1969, 7:00 pm by janan
User Avatar

You guys are amazing, thanks for explaining what the downtime was about. :3

December 31, 1969, 7:00 pm by Rarre
User Avatar

thanks for putting in all the hard work Its so nice to get all the details

December 31, 1969, 7:00 pm by Deleted User

This over 12 hours of downtime got me realizing how much I love Subeta, I spent the entire day refreshing the page. XD

December 31, 1969, 7:00 pm by ricecake
User Avatar

It reminded me about dumplings Thanks for letting us know

December 31, 1969, 7:00 pm by LadyTerentia
User Avatar

Thanks for all your hard work, and letting us know what was going on! I'm glad to have the site back without a rollback being needed.

December 31, 1969, 7:00 pm by Palitato
User Avatar

BAD Database! NO MORE CORRUPTION! -smacks it-

Thanks to everyone whose worked so hard on fixing everything. =D No more corruption cookies for the database! Not even on the holidays! It is on a strict diet. :K

December 31, 1969, 7:00 pm by Rainey
User Avatar

Gives you a standing ovation for a job well done!! I love this site and ALL the people who make it possible for us to play here!!

December 31, 1969, 7:00 pm by SharpCrayon
User Avatar

Props for the lack of that scary r-word and another successful restore/replay/refixing

December 31, 1969, 7:00 pm by BritishMindslave
User Avatar

Wow, nice work. c: That's all pretty hard stuff. I do hope that the Wizard Exchange is back soon, though. Don't work yourselves TOO hard.

December 31, 1969, 7:00 pm by Allura
User Avatar

I love how explanations are given on subeta.

December 31, 1969, 7:00 pm by sindos
User Avatar

An optimized database is a happy database.

Relief! the items are were I left them! thanks for all the efforts guys! we appreciate!

December 31, 1969, 7:00 pm by Julie
Avatar Border
User Avatar

Wow, that's a lot of computer drama. Thanks for the explanation and I'm glad you guys are back up and running. goes off to the cash shop to help with the expense

December 31, 1969, 7:00 pm by Kokoro
User Avatar

my heros! =) thank you very very very very very very much. =)

December 31, 1969, 7:00 pm by RegeneRegetta
User Avatar

Thanks for the info and hard work. <3

December 31, 1969, 7:00 pm by Temper
User Avatar

good job you guys

December 31, 1969, 7:00 pm by Deleted User

Welcome back Subeta and I hope we don't have to go through all this again as I know you all have worked so hard to keep the site up and running. I must say that you all have done a great job. The Information you gave us is greatly appreciated. Thank you.

December 31, 1969, 7:00 pm by Sathalan
Avatar Border
User Avatar

thanks for all the hard work you've done

December 31, 1969, 7:00 pm by Doe
User Avatar

Thanks for the information. Always nice to know what's going on. Thank you, Alex. Also, thanks to everyone who keeps the site running and gets the site running again after problems occur. ♥

December 31, 1969, 7:00 pm by Jive
Avatar Border
User Avatar

Thanks for all the hard work!

December 31, 1969, 7:00 pm by Lisa
Avatar Border
User Avatar

clings to Subeta I MISSED YOU! bawls like an idiot Oh...and thanks for all the hard work, info, and most of all, lack of the r-word.

December 31, 1969, 7:00 pm by Wabbit
User Avatar

One word: YAY!

December 31, 1969, 7:00 pm by why
User Avatar

A big big thank you to everyone who worked so hard to fix this. You are awesome! sending some love thru the computer

December 31, 1969, 7:00 pm by Disfan
User Avatar

Thank you for all of your hard work to make this a better site. I really appreciate it.

December 31, 1969, 7:00 pm by NaandaWay
User Avatar

Thanks a lot, Alex. We love you and your hard work! ♥

December 31, 1969, 7:00 pm by Sahi
User Avatar

Thanks for all the hard work. Perhaps another database provider would give you better reliability?

December 31, 1969, 7:00 pm by Mechell
User Avatar

Thanks for the great work, subeta has got even better since you join the team!

December 31, 1969, 7:00 pm by Deleted User

No doubt it drove you at Subeta even more nuts than us players wanting to get back. Glad you were able to fix it, though.

December 31, 1969, 7:00 pm by o0_CareBear_0o
User Avatar

Thanks Alex For The Update And Thanks For All The Hard Work You And Everyone Else Is That Is Trying To Keep Subeta Up For Us.. I Am Just Glad It's Back Up!! I Have Missed It!! Keep Up The Awesome Work!!!

December 31, 1969, 7:00 pm by Deleted User

Thank you so much for all your hard work and keeping us informed all the time! You gguys all did a great job and I missed the site SO much!!! So just thank you for the great job and that you managed everything so great without any lost of data Feel hugged!

December 31, 1969, 7:00 pm by Liz_885
User Avatar

I'm really glad there was no rollback. last time was really discouraging. so, thank you guys

December 31, 1969, 7:00 pm by OtakuOokami
User Avatar

Thank you so much! We all appreciate how hard you guys work and the constant status reports to keep us up to date.

December 31, 1969, 7:00 pm by Deleted User

Thanks for letting us in on what's going on! Good luck on getting things fixed! :3

December 31, 1969, 7:00 pm by Deleted User

Thank you for keeping us informed and keeping Subeta going strong

December 31, 1969, 7:00 pm by Damon
Avatar Border
User Avatar

Thank you for explaining everything and working very hard, you're a sweetheart!

December 31, 1969, 7:00 pm by miz_gadget
User Avatar

I really appreciate the explanation! I still love Subeta and all the people that run it!

Leave a Comment

Use @username to mention someone. Supports markdown formatting.