Page 1 of 1

crash + database corruption [fixed]

Posted: Wed Feb 14, 2007 11:59 am
by Red Squirrel
The database randomly corrupted itself for no reason, I've seen this happen before but its first time it happens on the live server.

I'm stuck in College till 4:30 ET so I'll be home at 5:30 so I can't do anything unfortunately.

When I get back I'll restore a backup. Don't think much will be lost.

Sorry about this. Once all ML is in I will consider working on redesigning the RunUO storage engine to make it more reliable.

Edit: fixed with a revert

Archived topic from AOV, old topic ID:206, old post ID:842

crash + database corruption [fixed]

Posted: Wed Feb 14, 2007 1:16 pm
by Red Squirrel
Ok server is back up, but I have no idea how old this backup is, I'm at college so I can't log in to check the server. If iti's really old, don't worry, I can probably find a newer one. There should not be more then an hour lost.

Archived topic from AOV, old topic ID:206, old post ID:843

crash + database corruption [fixed]

Posted: Wed Feb 14, 2007 1:59 pm
by Gaiava Arkkaza
Well, just all of my accounts are without characters. But i'm still checking.

Archived topic from AOV, old topic ID:206, old post ID:844

crash + database corruption [fixed]

Posted: Wed Feb 14, 2007 2:58 pm
by Red Squirrel
ok nobody play then, as it will get overritten. I'll try to find a newer backup when I get home. I hate this. :x Wish I could leave now and go home.

I don't know why the hell it crashed in first place. Its pure BS.

Archived topic from AOV, old topic ID:206, old post ID:846

crash + database corruption [fixed]

Posted: Wed Feb 14, 2007 3:33 pm
by Red Squirrel
2 more hours and I'll be home.... can't wait. Trying to do VSLM when all I can think about is the server being down. arg only if I could go home NOW!

Archived topic from AOV, old topic ID:206, old post ID:848

crash + database corruption [fixed]

Posted: Wed Feb 14, 2007 5:27 pm
by Red Squirrel
Just got home.

I think the problem is that it tried to save as the backup job was running. RunUO's DB system is actually that unreliable. I will schedule the backup job to run during SW to prevent this from happening. If the backups come to the point of taking more then 15 minutes then I'll have to set it up so SW lasts even longer, but currently backups are about 3 minutes, it was just a case of very bad luck and timing that it saved at that time.

Edit: this ismore serious then I expected, all characters got deleted, and... FUCK. Don't know what to do anymore. Whoever came up with this "DB system" sucks hardcore at designing data storage systems, and should be shot.

Archived topic from AOV, old topic ID:206, old post ID:851

crash + database corruption [fixed]

Posted: Wed Feb 14, 2007 5:46 pm
by Red Squirrel
Good news!

I managed to find a somewhat recent backup. I'm very sorry about the losses. I'm basing this on the last thing I did, and i personally did not loose anything but I logged off at around 12:00am and it crashed at 1:00 so I'm really not sure which point at that time the backup is for.

Again, very sorry about this. I will try to figure a way to redesign the save system since it's VERY unreliable the way it is.

Archived topic from AOV, old topic ID:206, old post ID:852

crash + database corruption [fixed]

Posted: Wed Feb 14, 2007 5:48 pm
by dprantl
Phew! I still have my essence of spellcasting :)

Archived topic from AOV, old topic ID:206, old post ID:853