Re: Zeo and two processes changing the zodb - not getting the up to date version of the object

Jim Fulton <[email protected]>
Newsgroups gmane.comp.web.zope.zodb
Message-ID <CAPDm-FiB_4h_hJ_LCFB5sGC3qQKPd4nrv_hH+BzHAJGiXrSpNA@mail.gmail.com>
On Wed, Feb 1, 2017 at 12:37 PM, Jo Gilder <[email protected]>
wrote:

> I'm running zeo 4. Is there any way to do this without upgrading? We are a
> week away from a release and upgrading zeo means upgrading lots of other
> packages too.
>

Well, you could call some method on the client storage that makes a server
round-trip.

  some_object._p_jar.db().storage.getTid('\x00\x00\x00\x00\x00\x00\x00\x00')

should do the trick, but you'd need to do this before starting a
transaction, the details of which depend on how you're managing
transactions.

Jim

-- 
Jim Fulton
http://jimfulton.info

-- 
You received this message because you are subscribed to the Google Groups "zodb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.