Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jul 1999
Posts: 118
Enthusiast
Enthusiast
Offline
Joined: Jul 1999
Posts: 118
I did [:"red"] NOT [/] naturally hit the reload button.

I watched the mysql demon, via top. When it stopped, I just went on with the upgrade, manually changing the url to the next step. What else could I have done?


Also there was no clear warning that timeouts were likely and would screw up the database. I think these altertables should be made with timeout in mind, sort of timeout proof. See below.


Then when the board showed all kinds of error messages, I checked what parts had not been done, and redid this step.

After a few iterations, I had redone most steps of the altertable 6.1 6.2 as half of these steps had timed out.

I think there is an inherent problem: I think after a web server timeout, the processes started by it get killed. Does not make sense to allow a bunch of runaway processes continue forever while their output will never reach the web page

So this is what causes the problem.


[:"red"] So I suggest to reconsider my suggestions:
[/]
a) provide altertables also in mysql command format and/or php command line format. Even people with shared web servers can ask admin to run one routine for them once a year!!

b) Keep "DROP" commands for a later time, when we have tested all the upgrade. This way no information gets lost. so it is easy to re-run just one part of the altertable again. In other words, use an altertable/addtable routine, and only much later a droptable routine.

Please make altertable routines "timeout proof"!!
Long altertables that time-out should be made in a way that they can be redone with no problem.


Something like: for all rows where UID is not equal to default keep processing.

This way that process can be redone various times. And it will skip the part that already has been done, so eventually it will end.

Also, before starting a step, the altertable should give clear instructions what to do in case of a timeout or other problems. Actually, it should be in a way that reload will solve.
What do you expect a regular user, without telnet, to do after he gets the "server not found" or whatever timeout error message??? sit for how many hours doing nothing? or get to the next step of the altertable how?

There are only 2 naturally possible reactions. "Reload" or "Back". Both seem quite fatal!! I guessed the url for the next step and typed it in manually. I still do not know what should have been done!?

I finished this, so it is of no maior concern to me. I write this more so infopop can improve their documentation and procedures, to make them userfriendly.

So people can follow them without having to spend 5 hours of detailed study of the altertable programming details, and another 5 hours pouring over the board to find if there are any issues.

Sponsored Links
Entire Thread
Subject Posted By Posted
Altertable problems 6.1 beta to 6.3. Did I screw up the database????? mario2 06/18/2003 9:02 PM
here is my mysql error file mario2 06/18/2003 9:25 PM
Re: Altertable problems 6.1 beta to 6.3. Did I screw up the database????? JoshPet 06/18/2003 9:26 PM
Re: Altertable problems 6.1 beta to 6.3. Did I screw up the database????? Astaran 06/18/2003 9:29 PM
ok, so how do I recover the private messages/ mario2 06/19/2003 1:21 AM
Re: ok, so how do I recover the private messages/ JoshPet 06/19/2003 5:03 AM
Re: ok, so how do I recover the private messages? mario2 06/19/2003 11:02 AM
Re: ok, so how do I recover the private messages? JoshPet 06/19/2003 4:44 PM
This bug has been known for months, and infopop still does not fix it??? mario2 06/20/2003 12:09 AM
Re: This bug has been known for months, and infopop still does not fix it?? slayer60 06/20/2003 5:04 AM
Re: This bug has been known for months, and infopop still does not fix it?? mario2 06/20/2003 10:44 AM
Re: This bug has been known for months, and infopop still does not fix it?? JoshPet 06/20/2003 11:25 AM
Re: This bug has been known for months, and infopop still does not fix it?? AllenAyres 06/20/2003 3:00 PM
Please make altertable routines "timeout proof" mario2 06/20/2003 9:15 PM
Re: Please make altertable routines "timeout proof" JoshPet 06/20/2003 9:37 PM
Re: Please make altertable routines "timeout proof" navaho 06/20/2003 11:24 PM
these statements are patently wrong!! Instructions are faulty!! mario2 06/21/2003 3:22 AM
Re: these statements are patently wrong!! Instructions are faulty!! JoshPet 06/21/2003 5:05 AM
Please explain where my logic is wrong? mario2 06/21/2003 6:00 AM
Re: Please explain where my logic is wrong? JoshPet 06/21/2003 6:30 AM
Re: Please explain where my logic is wrong? navaho 06/21/2003 6:55 AM
Re: these statements are patently wrong!! Instructions are faulty!! AllenAyres 06/21/2003 8:40 AM
Re: these statements are patently wrong!! Instructions are faulty!! slayer60 06/21/2003 7:34 PM
Re: these statements are patently wrong!! Instructions are faulty!! AllenAyres 06/21/2003 8:06 PM
Re: these statements are patently wrong!! Instructions are faulty!! JoshPet 06/21/2003 9:07 PM
how can I delete the unwanted PM now? mario2 06/23/2003 6:15 PM
Re: how can I delete the unwanted PM now? JoshPet 06/23/2003 8:18 PM
Re: how can I delete the unwanted PM now? slayer60 06/23/2003 8:33 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)