Re: [Zope-dev] ANNOUNCE: PartitionedFileStorage

2001-01-02 Thread Shane Hathaway

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/PartitionedFileStorage-0.0.1-2_2.tar.gz/view
 
 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

___
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] ANNOUNCE: PartitionedFileStorage

2001-01-02 Thread Steve Alexander

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.

The new version of FileStorage.py in PartitionedFileStorage for 2.3 
overwrites some of the changes made the FileStorage locking protocol in CVS.

These are the ones using  _commit_lock_acquire _commit_lock_release.

--
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] ANNOUNCE: PartitionedFileStorage

2001-01-02 Thread Shane Hathaway

Steve Alexander 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.
 
 The new version of FileStorage.py in PartitionedFileStorage for 2.3
 overwrites some of the changes made the FileStorage locking protocol in CVS.
 
 These are the ones using  _commit_lock_acquire _commit_lock_release.

Well, it's pretty easy to use diff and patch to correct it.

But like I told ChrisW, I think BerkeleyStorage will fill the need that
PartitionedFileStorage was only partitially addressing.

OTOH I've been running it for a while now on my box and have had no
signs of problems.

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] ANNOUNCE: PartitionedFileStorage

2001-01-02 Thread Magnus Heino (Rivermen)


 But like I told ChrisW, I think BerkeleyStorage will fill the 
 need that
 PartitionedFileStorage was only partitially addressing.

How is the new BerkeleyStorage product coming along?

/Magnus
###

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.F-Secure.com/

___
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] ANNOUNCE: PartitionedFileStorage

2000-11-27 Thread Chris Withers

Phil Harris wrote:
 
 Chris,
 
 Any hints/tips on how you did this (just to save me from having to do any
 work of course ;))

I just used WinZip to extract the tarball in the /ZODB directory.
Sadly, it didn't work, and won't do until the next version fo Zope is
released :-(

cheers,

Chris

___
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] ANNOUNCE: PartitionedFileStorage

2000-11-27 Thread Shane Hathaway

Chris Withers wrote:
 
 Phil Harris wrote:
 
  Chris,
 
  Any hints/tips on how you did this (just to save me from having to do any
  work of course ;))
 
 I just used WinZip to extract the tarball in the /ZODB directory.
 Sadly, it didn't work, and won't do until the next version fo Zope is
 released :-(

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/PartitionedFileStorage-0.0.1-2_2.tar.gz/view

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] ANNOUNCE: PartitionedFileStorage

2000-11-23 Thread Chris Withers

Shane Hathaway wrote:
 What couldn't be tested by my limited resources:
   - Platforms other than Linux.

I'm running this on my NT4 Workstation, not high load but I'll let you
know if anything weird happens (that isn't caused by me ;-)

I wonder if this will help with the conflict errors I've been getting?

cheers,

Chris

___
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] ANNOUNCE: PartitionedFileStorage

2000-11-23 Thread Phil Harris

Chris,

Any hints/tips on how you did this (just to save me from having to do any
work of course ;))

Phil

- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: "Shane Hathaway" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, November 23, 2000 10:31 AM
Subject: Re: [Zope-dev] ANNOUNCE: PartitionedFileStorage


 Shane Hathaway wrote:
  What couldn't be tested by my limited resources:
- Platforms other than Linux.

 I'm running this on my NT4 Workstation, not high load but I'll let you
 know if anything weird happens (that isn't caused by me ;-)

 I wonder if this will help with the conflict errors I've been getting?

 cheers,

 Chris

 ___
 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 )


___
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 )