Re: [Zope-dev] PartitionedFileStorage - Eek!
Jason Cunliffe wrote: > > Shane Hathaway <[EMAIL PROTECTED]> wrote: > > Now BerkeleyStorage is on its way and once that's ready, > > PartitionedFileStorage will have such a small audience that it won't be > > worth the trouble. Oh well, it was a fun experiment. > > Can you pleae expand on this.. what about BerkeleyStorage is on its way and > when ? Here is the info on the BerkeleyStorage work. Jim sent me the URL. http://lists.zope.org/pipermail/zope-zeo/2000-November/000196.html It will soon be a fishbowl project. Shane ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] PartitionedFileStorage - Eek!
Steve Alexander wrote: > > Shane Hathaway wrote: > > > > > Should be, although I just realized I don't know whether 0.0.2 was > > intended for Zope 2.2 or 2.3. > > There is no difference between the PartitionedFile.py files in the 2.2 > and 2.3 versions, so I guess 0.0.2 will do as well for either. Silly me, of course you're right. :-) BTW I'm happy to hear someone's putting it to good use. Shane ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] PartitionedFileStorage - Eek!
Shane Hathaway wrote: > > Should be, although I just realized I don't know whether 0.0.2 was > intended for Zope 2.2 or 2.3. There is no difference between the PartitionedFile.py files in the 2.2 and 2.3 versions, so I guess 0.0.2 will do as well for either. -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] PartitionedFileStorage - Eek!
Shane Hathaway <[EMAIL PROTECTED]> wrote: > Now BerkeleyStorage is on its way and once that's ready, > PartitionedFileStorage will have such a small audience that it won't be > worth the trouble. Oh well, it was a fun experiment. Can you pleae expand on this.. what about BerkeleyStorage is on its way and when ? Been using it for soem tests and like it very much, sincerely hoping it might get rolled into Zope and Python before long. thanks - Jason ___ Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] PartitionedFileStorage - Eek!
Chris Withers wrote: > > Shane Hathaway wrote: > > > > BTW, Evan helped me find and correct a bug. You'll only run into it if > > you set your partition size to less than the size of the largest ZODB > > objects. > > That's fixed in 0.0.2, right? Should be, although I just realized I don't know whether 0.0.2 was intended for Zope 2.2 or 2.3. > Well, anyway, I changed the line in FileStorage.py as follows: > # Use 0.5 GB partitions because that's what fits on a CD. > defaultOps = PartitionedFileOperations( > DefaultPartitionNamingStrategy(partlen=4)) > #DefaultPartitionNamingStrategy(partlen=2L**29)) > > ...so I could try and provoke a split, but, now, when I try to add > objects, I get: > > Error Type: CorruptedDataError > Error Value: 41904222L Ugh. I have no idea what might have happened. That's why I'm wary: if something goes wrong, the symptoms will show up a long time after the problems occur. Now BerkeleyStorage is on its way and once that's ready, PartitionedFileStorage will have such a small audience that it won't be worth the trouble. Oh well, it was a fun experiment. Shane ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )