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

Jo Gilder <[email protected]>
Newsgroups gmane.comp.web.zope.zodb
Message-ID <[email protected]>
This didn't work, possibly for the same reason as below as I am just 
reading rather than writing to the object?

On Wednesday, 1 February 2017 17:46:10 UTC, Jim Fulton wrote:
>
>
>
> On Wed, Feb 1, 2017 at 12:37 PM, Jo Gilder <[email protected] 
> <javascript:>> 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.