vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   I have a sob-story and a cautionary tale to relate ... (https://vborg.vbsupport.ru/showthread.php?t=65066)

Natch 05-13-2004 01:55 PM

I have a sob-story and a cautionary tale to relate ...
 
The problem: Leave a maintenance problem for long enuff and BOOM!

350-odd emails arrive in my inbox with SQL errors (after a convenient 72 hours of intermittent net access due to my ISP having their collective heads up their collective orifices)

One or more of the tables in the database needed repairing - due to a bug in the version of MySQL that we have on the server ... [a good reminder for me to run maintenance on the database more often]

I research the SQL error, get advised by some site out there that I needed to run REPAIR on my SQL tables, but to be prepared to restore from a backup (good thing I had the cron-backup script ! thanks brad.loo!

The report on the REPAIR told me my user table had been reduced in total number of rows by one (1).

I return to the forum and find my cookied access had been lost ... (some of you are seeing the punchline...) so I tried to login, incorrect login or password (WTF?? checks caps-lock) .. then I decided to bite the butllet and check the database ... my user ID was the only missing record in the user table!

One look at our most recent forum backup gave me the Query to re-insert my account via the backend and I was back in again ...

Who woulda thought when it said that "The number of rows has reduced from 669 to 668" that the missing user would be ME !

Quote:

Backups are a good thing!
EOF

Boofo 05-13-2004 02:38 PM

Ouch! What version of MySQL are you running?

Natch 05-13-2004 02:51 PM

MySQL 4.0.18 - seems there's some sort of bug relating to large numbers of DELETE queries being run in close sequence ... or something like that ...

Boofo 05-13-2004 02:57 PM

Oh-Oh. That's what they're running on my server. They just upgraded to v4.0.18-standard. I hadn't heard of this bug. And patch or fix for it yet?

Natch 05-13-2004 03:16 PM

Mate - I'm not sure ... I am actually assuming that the bug is in my version (as I had the problem) but I will take a browse thru my logs and see if I can find the place I got the info from ... see if I am giving u the right info ... before you go and bug your host about another upgrade ... :D

Natch 05-13-2004 03:18 PM

You see there I go ... it was 4.0.14 that had the bug ...

4.0.18 is fine (afaik) ...

http://support.discusware.com/forum/...tml?1058121551 <- solution

and

http://lists.mysql.com/mysql/164250 <- this whole thread was useful

Boofo 05-13-2004 03:42 PM

Quote:

Originally Posted by Natch
You see there I go ... it was 4.0.14 that had the bug ...

4.0.18 is fine (afaik) ...

http://support.discusware.com/forum/...tml?1058121551 <- solution

and

http://lists.mysql.com/mysql/164250 <- this whole thread was useful

Thank for the heads up, Mr. working on WAR with Bob. ;)

Natch 05-13-2004 03:43 PM

Quote:

Originally Posted by Boofo
Thank for the heads up, Mr. working on WAR with Bob. ;)

;) {ten chars}


All times are GMT. The time now is 01:01 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01704 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete