upgrade from 2.7.5 to 2.8.6
Hi, I have just upgraded the staging/test version of a large site from 2.7.5 to 2.8.6. When restarting zeo, it seemed to take a 'long' (in the most subjective sense) time to come up, and I noticed this entry in the logs: 2006-09-14T17:36:23 WARNING ZODB.FileStorage Failed to load database index: exceptions.AttributeError: type object 'BTrees._fsBTree.fsBTree' has no attribute '__basicnew__' Does anyone know what this means? Is it important/indicative of any sort of problem at all that I should be aware of? Does the storage do anything in response to this at all? When the live version is upgraded, downtime has to be at a minimum, or I will get phonecalls ... Thanks, Miles
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 15 Sep 2006, at 10:21, Miles Waller wrote:
2006-09-14T17:36:23 WARNING ZODB.FileStorage Failed to load database index: exceptions.AttributeError: type object 'BTrees._fsBTree.fsBTree' has no attribute '__basicnew__'
Does anyone know what this means? Is it important/indicative of any sort of problem at all that I should be aware of? Does the storage do anything in response to this at all?
When the live version is upgraded, downtime has to be at a minimum, or I will get phonecalls ...
I would delete all index/*.tmp files and restart the ZEO storage. If you see no log entry after that you should be fine. jens -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFFCpZoRAx5nvEhZLIRAgMcAJ92tX44KXhIQCkTtmEuC8efzK/jtQCgm2Rz I4rOPqla9jiql5cHQXw8WT0= =cwk5 -----END PGP SIGNATURE-----
Miles Waller wrote at 2006-9-15 09:21 +0100:
I have just upgraded the staging/test version of a large site from 2.7.5 to 2.8.6. When restarting zeo, it seemed to take a 'long' (in the most subjective sense) time to come up, and I noticed this entry in the logs:
2006-09-14T17:36:23 WARNING ZODB.FileStorage Failed to load database index: exceptions.AttributeError: type object 'BTrees._fsBTree.fsBTree' has no attribute '__basicnew__'
The data structure for the index file has changed. The new ZODB can no longer load the old index file. That's why the data file must be read and the start takes some time. After the first regular shutdown, a new style index file is written and from then on, everything should work as before. -- Dieter
participants (3)
-
Dieter Maurer -
Jens Vagelpohl -
Miles Waller