[ZODB-Dev] ZEO and commits
Antonio Beamud Montero
antonio.beamud at linkend.com
Fri Oct 24 10:56:14 EDT 2003
I can't find this connection.sync() method, Need I to import any module?
And if the other clients update the original object, is needed to
connection.sync() in the original object process?
The process are in differente machines:
I.e.-> Process A -> create object X
make transformations
.....
..... <-------------- Process B: Change a the
variable's value in object X.
.....
if (X.var == newvalue):
do another thing...
The process A and B are threads inside an HTTP server (from python lib)
How I can do this?
El vie, 24-10-2003 a las 16:31, Christian Robottom Reis escribió:
> On Fri, Oct 24, 2003 at 04:28:07PM +0200, Antonio Beamud Montero wrote:
> > I make a get_transaction.commit() but this change isn't reflected in the
> > other clients...
>
> Call connection.sync() on the other clients. Do note, however, that this
> will also abort their current transactions.
>
> (FAQ)
>
> Take care,
> --
> Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
--
Antonio Beamud Montero <antonio.beamud at linkend.com>
More information about the ZODB-Dev
mailing list