Results 1 to 5 of 5

Thread: Collatz Database Corrupt

  1. #1
    Gold Member
    Slicker's Avatar
    Join Date
    October 25th, 2010
    Location
    South of Cheeseland
    Posts
    1,253

    Collatz Database Corrupt

    While I was working on getting the new Collatz server configured, I realized that the current server was down again. I rebooted it but couldn't connect due to a MySQL corruption. How corrupt? It won't start. If it won't start, you can't repair it. Nice. The only option is to wipe out all the MySQL data and restore from backups. The good news is that the backup ran less than 15 minutes prior to the server going down, so very little data will be lost. But, given the issues lately, I'm very tempted to just restore it to the new server. That will take a little longer as I have to do a bunch of other configuration stuff as well, but it will be more stable in the end. Assume it will be down all weekend. If I can't get it running by Monday, it may be down for another whole week (family reunion and we are the lucky ones hosting it this year).
    Spring 2008 Race: (1st Place)

  2. #2
    Gold Member
    Slicker's Avatar
    Join Date
    October 25th, 2010
    Location
    South of Cheeseland
    Posts
    1,253

    Re: Collatz Database Corrupt

    Doh! I thought the database had been backed up 15 minutes prior to the crash. Not so. The backup happened around 2 a.m. and the system crashed around 6 a.m. That means that the database vs. the file system are 4 hours out of sync. Give 55K WUs completed per day, that means thousands of files out of whack. Once I get it all configured, I'll have to write some custom one-time code to compare the files in the WU folders to the records in the database and somehow create the WU records for the ones which aren't in the database. Then I'll need to do the same for any result files. It could be a very long week.
    Spring 2008 Race: (1st Place)

  3. #3
    Diamond Member
    zombie67's Avatar
    Join Date
    October 24th, 2010
    Location
    Reno, NV
    Posts
    7,289

    Re: Collatz Database Corrupt

    Ouch! Good luck!
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


  4. #4
    Gold Member
    Slicker's Avatar
    Join Date
    October 25th, 2010
    Location
    South of Cheeseland
    Posts
    1,253

    Re: Collatz Database Corrupt

    From the looks of things, there are 4500 WUs that were reported, validated, and deleted that the server (from the backup file) thinks are missing. That probably means there were another 4500 WUs created and sent out that the server also doesn't know it did and worse, doesn't know who it sent them to. This is going to be fun to try and figure out...
    Spring 2008 Race: (1st Place)

  5. #5
    Diamond Member
    Duke of Buckingham's Avatar
    Join Date
    May 14th, 2011
    Location
    Lisboa = Portugal
    Posts
    8,433

    Re: Collatz Database Corrupt

    Quote Originally Posted by Slicker View Post
    From the looks of things, there are 4500 WUs that were reported, validated, and deleted that the server (from the backup file) thinks are missing. That probably means there were another 4500 WUs created and sent out that the server also doesn't know it did and worse, doesn't know who it sent them to. This is going to be fun to try and figure out...
    Friends are like diamonds and diamonds are forever



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •