Skip to main content
Topic: upgrade and (possible) long steps (Read 16680 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

upgrade and (possible) long steps

I am sort of working (still thinking how to set it up properly :P) on "converting" the PM (personal messages) to PD (personal discussions).
The think I'm not sure about is how the upgrade works in case of long steps.
For example: I think I'll have to do quite a bit of work in that case to re-build all the conversations to the proper new format, and I feel do it in just one single step could be risky and generate timeouts in case of big forums.

So, does upgrade.php takes care of break steps in multiple pieces (like convert does) or it's all up to "us" to split the steps in the smallest pieces possible and hope for the best?
Bugs creator.
Features destroyer.
Template killer.

Re: upgrade and (possible) long steps

Reply #1

yep, IIRC upgrade.php can manage large tables and process smaller steps in order to prevent server overload. It's modernized in upgrade.php, but IMO $upcontext['pause'] and all the other stuff around is somewhat similar to pastTime(); in convert.php
Thorsten "TE" Eurich
------------------------