[Zope3-dev] FileStorage version number

Jeremy Hylton jeremy@zope.com
Mon, 25 Nov 2002 12:30:06 -0500


The first four bytes of a FileStorage say "FS21".  ZODB writes this
magic number when it creates a new storage and expects to read it when
it finds an existing storage.

I'd like to dump this number in Zope3.  I should have done the version
number change when I changed the pickle format, because the storage
format changed as a result.  I forgot to do it then, but fixing it
will break everyone's storage.

You can fix it by deleting the storage or editing the first four bytes
by hand.

I propose to change the magic number to "FS40".

Any objections?

Jeremy