Re: [ZODB-Dev] Where did self._p_jar._storage._serial go?

2006-07-20 Thread Jean Jordaan
Hi Jeremy

 _tid is what you want.

Thank you for the confirmation :-)

There isn't a _tid-equivalent when the storage is a ZEO storage server, is 
there?

-- 
jean
___
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] Where did self._p_jar._storage._serial go?

2006-07-19 Thread Jeremy Hylton

On 7/4/06, Jean Jordaan [EMAIL PROTECTED] wrote:

Answering myself ..

 FileStorage in 2.8.7 doesn't have '_serial' any more. Is there something
 equivalent I can get hold of and use?

It looks like '_tid' fits the bill. It's not available when using ZEO though,
which took me a while to figure out.


_tid is what you want.  tids and serial numbers were merged a few years ago.

jeremy



--
jean
___
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


___
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] Where did self._p_jar._storage._serial go?

2006-07-06 Thread Chris Withers

Jean Jordaan wrote:

It looks like '_tid' fits the bill. It's not available when using ZEO though,
which took me a while to figure out.


Might be good to check the relevent apis. A lot of this has got much 
clearer in recent zodb releases.


If you end up using variables starting with underscores, then either 
you've missed an api, or the relevent api is defficient...


cheers,

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
___
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] Where did self._p_jar._storage._serial go?

2006-07-06 Thread Jean Jordaan
Yo Chris!

 If you end up using variables starting with underscores, then either
 you've missed an api, or the relevent api is defficient...

Oh, totally :-]  This is for a replication implementation (edit on one
Zope, replicates to another), so it does get kinda lowlevel. Possibly it
can be cleaned up, but no bandwidth for that now .. It's too app-specific
to be generally useful, so we've never released it. I guess we should
write up the technique, though ..

-- 
jean
___
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] Where did self._p_jar._storage._serial go?

2006-07-04 Thread Jean Jordaan
Answering myself ..

 FileStorage in 2.8.7 doesn't have '_serial' any more. Is there something
 equivalent I can get hold of and use?

It looks like '_tid' fits the bill. It's not available when using ZEO though,
which took me a while to figure out.

-- 
jean
___
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