[ZODB-Dev] Synchronizing connections
Shane Hathaway
shane@digicool.com
Fri, 16 Mar 2001 23:54:35 -0500
Andrew Kuchling wrote:
> Currently we run a single Quixote process that connects to a ZEO.
> We'd like to run multiple processes, but then we run into a problem.
> At the start of a request being serviced, each process needs to
> synchronize its connection in order to see the current state of the
> database; the only way to do this currently is to commit a trivial
> transaction. The problem is that all the processes are then modifying
> the same trivial object, so ConflictErrors occur fairly often.
Connection.sync() perhaps?
Shane