StarCraft World

NEWS AND ANNOUNCEMENTS => News => Topic started by: LivE.SworD on December 15, 2018, 07:33:25 am

Title: Unprecedented server disaster - rollback to 12/9
Post by: LivE.SworD on December 15, 2018, 07:33:25 am
Due to what I still suspect was problems on my host's end, there were filesystem and/or possibly hardware errors that caused the site to go down last week. Even though the site came back online, the problem was not fully resolved, and fast forward to yesterday; there was a server reset which caused a loss of recent data. Fortunately I had a backup saved on 12/9, but nothing more recent than this. The underlying problem that caused this is now resolved, but unfortunately the site has been rolled back to the state that it was in on 12/9, including all posts and replays.

Given the situation, I should have been saving backups daily, to avoid situations such as this one, but I was confident that things would be stable. Things have run relatively smoothly for more than a year since the site was originally deployed, but this disaster is the first time that something like this has happened. I screwed up by not having more frequent backups, but from now on I'm going to have automated daily backups, and push replays to an additional server, to ensure that something like this never happens again.

Fortunately, since remastered, the game automatically saves all of your StarCraft replays in a folder called AutoSave. To have all of your games re-added in bulk, please zip up the folders which include every game since 12/9 and email them to scwreplays@gmail.com. I will run them through a script which will automatically re-add every game, with correct winners and points, to rebuild the ladder as it was before the crash. To ensure consistency and to give everyone time to do this, uploading replays will be disabled until 9 PM server time today (12/15). At that point I'll reupload every game that I received by email in the order in which it was played, in order to rebuild the ladder and points gained as it was. You don't need to worry about non-games (because the script will filter for maps played on the SCW9 map only) or old games that are already on the server (the script will skip replays that are already added, and will not add duplicates) or games that you lost (the script will determine winner by looking at the replay). You can literally copy the entire contents of those replay folders to a zip and send to that email. The AutoSave folder is organized by date, you can copy the sub-folders that correspond to the dates including 12/9 and later. This will work for both 1v1 and 2v2. If you only played a few games and you would rather upload them yourself manually, you can do that also, after 9 PM. I'll also be accepting bulk email replays after that time, but the sooner you send them, the more accurate the points will be.

Within a day everything should be restored to the way it was yesterday - this could have been a lot worse. Thanks everyone for your patience.

If anyone fluent in Korean and/or Spanish could translate this post and reply to this topic with the translation, that would be super helpful, so that members of the site that speak those languages can read a copy of this message in their language.
Title: Re: Unprecedented server disaster - rollback to 12/9
Post by: GooN-of-SoV on December 15, 2018, 08:01:11 am
Who cares? Keep playing public,  more fun and stats never get fucked with . lol
Title: Re: Unprecedented server disaster - rollback to 12/9
Post by: beaTz- on December 15, 2018, 09:11:42 am
Who cares? Keep playing public,  more fun and stats never get fucked with . lol

Don’t start Wes, Matt’s gone and you can be too.
Title: Re: Unprecedented server disaster - rollback to 12/9
Post by: xtre-tonyG on December 15, 2018, 10:46:21 am
we admire your hard work and dedication sir sword. thank you!
Title: Re: Unprecedented server disaster - rollback to 12/9
Post by: ~RuiN~ on December 15, 2018, 11:42:49 am
Yes, Thank you.
Title: Re: Unprecedented server disaster - rollback to 12/9
Post by: GooN-of-SoV on December 15, 2018, 12:07:59 pm
Go ahead and ban me . :)
Title: Re: Unprecedented server disaster - rollback to 12/9
Post by: tO_cReAtiVee on December 15, 2018, 12:15:27 pm
shit happens some times, thx for the work you put in sword :)
Title: Re: Unprecedented server disaster - rollback to 12/9
Post by: TealSilverSteal on December 15, 2018, 04:20:55 pm
Goon, stfu you fucking pimpleface
Title: Re: Unprecedented server disaster - rollback to 12/9
Post by: LivE.SworD on December 16, 2018, 05:00:50 am
ive added most of the games sent to my email, il add the rest tomorrow
Title: Re: Unprecedented server disaster - rollback to 12/9
Post by: insaNe on December 16, 2018, 01:11:34 pm
You the man, Sword. Disaster recovery is such a pain in the ass.
Title: Re: Unprecedented server disaster - rollback to 12/9
Post by: PuMa on December 16, 2018, 01:31:33 pm
Am i the only one who is amazed that sword can make a program/script that filters out the ranked games from the rest :D.

That's neat to say the least.
Title: Re: Unprecedented server disaster - rollback to 12/9
Post by: sNipEr.ScopE on December 16, 2018, 02:51:49 pm
yea thanks for your hard work sword. If u need me for anything im here
Title: Re: Unprecedented server disaster - rollback to 12/9
Post by: Network on December 16, 2018, 03:54:40 pm
You shouldnt be allowed to add games from the past since not everyone has the games saved... That should be a rule atleast..
Title: Re: Unprecedented server disaster - rollback to 12/9
Post by: Network on December 16, 2018, 04:00:52 pm
People adding games from the past.... just unbalancing records. 
Title: Re: Unprecedented server disaster - rollback to 12/9
Post by: beaTz- on December 16, 2018, 04:02:53 pm
What are you talking about network? All league games that the player played during the 9th to the 15th were erased. We’re just adding games back that got deleted.
Title: Re: Unprecedented server disaster - rollback to 12/9
Post by: PuMa on December 16, 2018, 06:49:57 pm
You shouldnt be allowed to add games from the past since not everyone has the games saved... That should be a rule atleast..

All your games are automatically saved inside your replays folder. They are categorized by date so no one should have problems recovering those games. You can literally send all those files with the specific date on them to sword and he would do all the sorting.
Title: Re: Unprecedented server disaster - rollback to 12/9
Post by: Network on December 16, 2018, 07:19:13 pm
Ahhh I see i gotcha!  thanks for the advice didn't know it auto saves I have uploaded the games from the past!  Cheers thanks Sword for fixing everything and helping!