Username: 
Password: 
Restrict session to IP 

Database errors

Global Rank: 253
Totalscore: 87267
Posts: 1636
Thanks: 1338
UpVotes: 886
Registered: 16y 64d




Last Seen: 4h 42m
The User is Offline
Database errors
Google/translate1Thank You!1Good Post!0Bad Post! link
As many of you noticed, there was a big database trouble going on yesterday.

The problem was that some innodb tables went corrupt.
The affected tables were some on another database, and one table in the wechall database, namely "wc_chall_solved", which holds the records of who solved which challenge.

Querying the corrupted tables caused a connection loss to the db, which occured quite a lot. In total i got like 30000 emails containing db error messages Smile

Sadly i could not repair the InnoDB tables, so i had to replace the corrupted tables with a backup that was 36 hours old.

Long story short:
If you solved a challenge yesterday or the day before, your solved status might got lost.

Your percentage and scores were not affected, so you will not gain more points when resolving them.

I am sorry for any inconvinience, but it could have been worse Smile

Happy Challenging!

PS: During this week i am really busy, but will have more time again from next week Smile
So take my apologizes if i did not answer PMs or Forum Posts.
The geeks shall inherit the properties and methods of object earth.
Global Rank: 67
Totalscore: 227432
Posts: 245
Thanks: 420
UpVotes: 281
Registered: 15y 115d
shadum`s Avatar







Last Seen: 158d 9h
The User is Offline
RE: Database errors
Google/translate1Thank You!1Good Post!0Bad Post! link
Quote from Gizmore
Feb 16, 2011 - 16:23:56

Long story short:
If you solved a challenge yesterday or the day before, your solved status might got lost.


This only effects WeChall challenges, right? It does not effect any scoring or solved percentages that may have come from a linked site?
Global Rank: 253
Totalscore: 87267
Posts: 1636
Thanks: 1338
UpVotes: 886
Registered: 16y 64d




Last Seen: 4h 42m
The User is Offline
RE: Database errors
Google/translate1Thank You!1Good Post!0Bad Post! link
Correct. Only the own wechall challenges were affected.
Scores and percentages have been untouched.

My lesson learned: if innodb fails, it fails hard.

Luckily there are daily backups Smile
The geeks shall inherit the properties and methods of object earth.
Global Rank: 168
Totalscore: 119368
Posts: 13
Thanks: 15
UpVotes: 15
Registered: 15y 165d


Last Seen: 147d 2h
The User is Offline
RE: Database errors
Google/translate2Thank You!2Good Post!0Bad Post! link
Quote from Gizmore
Feb 16, 2011 - 17:07:00

My lesson learned: if innodb fails, it fails hard.

Luckily there are daily backups Smile


From a BCP perspective, perhaps it's a good idea to periodically perform a parallel test [1]. This (preventive) control makes you more proactive rather than (in this case) reactive. Easier said than done, I know Smile

[1] http://www.riskythinking.com/glossary/parallel_test.php
Global Rank: 253
Totalscore: 87267
Posts: 1636
Thanks: 1338
UpVotes: 886
Registered: 16y 64d




Last Seen: 4h 42m
The User is Offline
RE: Database errors
Google/translate1Thank You!1Good Post!0Bad Post! link
Today i re-imported the database into a fresh db, and switched to MyISAM.
The dump seems complete, but It could be that some data is lost, so if you find something suspicous, please report it to me.
So far there were no more errors since i did the re-import.

I am sorry for the inconvinience over the last week Smile
The geeks shall inherit the properties and methods of object earth.
tunelko, quangntenemy, TheHiveMind, Z, balicocat, Ge0, samuraiblanco, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89, braddie0, JanLitwin17, SwolloW, dangarbri have subscribed to this thread and receive emails on new posts.
1 people are watching the thread at the moment.
This thread has been viewed 3556 times.