Chris Withers wrote:
Shane Hathaway wrote:
I just realized I could use the "patch" command to backport. So I made a new tarball. Have fun!
http://www.zope.org/Members/hathawsh/PartitionedFileStorage/PartitionedFileS...
great :-)
It's installed and running now. No problems yet, btu then I haven't seen any partitioning either... how long doI have to wait? ;-)
Until 512 MB. However, you can change the default partition size in FileStorage.py. Note that it behaves correctly with partitions of varying size, so you don't have to worry that it'll get confused if you set it to a partition size of 10 MB when your first partition is already 50 MB. 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. --- PartitionedFile.py~ Wed Nov 22 16:14:27 2000 +++ PartitionedFile.py Mon Dec 11 12:01:18 2000 @@ -343,7 +343,7 @@ file = self.__seekToNextPartition() if file is not None: state = self.__state - toAppend = file.read(size) + toAppend = file.read(size - len(data)) data = data + toAppend else: break Shane