Re: [ZODB-Dev] zeoup.py writes to Data.fs?

2006-03-08 Thread Jeremy Hylton
On 3/8/06, Chris Withers [EMAIL PROTECTED] wrote:
 Is it just me or does zeoup.py write a transaction to the end of Data.fs
 containing a MinPO object?

That sounds right.  What does the source say?

Jeremy
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] zeoup.py writes to Data.fs?

2006-03-08 Thread Tim Peters
[Chris Withers]
 Is it just me or does zeoup.py write a transaction to the end of Data.fs
 containing a MinPO object?

Make sure a ZEO server is running.

usage: zeoup.py [options]

The test will connect to a ZEO server, load the root object, and attempt to
update the zeoup counter in the root.  It will report success if it updates
the counter or if it gets a ConflictError.  A ConflictError is considered a
success, because the client was able to start a transaction.

Options:

-p port -- port to connect to

-h host -- host to connect to (default is current host)

-S storage -- storage name (default '1')

-U path -- Unix-domain socket to connect to

--nowrite -- Do not update the zeoup counter.

-1 -- Connect to a ZEO 1.0 server.

You must specify either -p and -h or -U.


IOW, zeoup's _purpose_ is to try to commit a transaction.  I'm not
sure why the --nowrite option exists -- it still tries to commit a
transaction then, but opens the connection in read-only mode, so can't
succeed.
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev