Hi, I'm wondering: Scenario 1: I pack a storage to a time T and append X transactions after that Scenario 2: I append X transactions to a storage and then pack it to time T. Will those scenarios end up with the same result? I can imagine GC to get in the way, but I'm not sure about how it does its thing exactly. The question can also be phrased as: Are the operations "pack" and "append transaction" for storages commutative? Christian -- Christian Theune · ct@gocept.com gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1 Zope and Plone consulting and development
On 11/09/2009 01:22 PM, Christian Theune wrote:
Hi,
I'm wondering:
Scenario 1: I pack a storage to a time T and append X transactions after that
Scenario 2: I append X transactions to a storage and then pack it to time T.
Will those scenarios end up with the same result? I can imagine GC to get in the way, but I'm not sure about how it does its thing exactly.
The question can also be phrased as: Are the operations "pack" and "append transaction" for storages commutative?
Dang. Post to wrong list. Please consider this moved to the zodb-dev list. -- Christian Theune · ct@gocept.com gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1 Zope and Plone consulting and development
On Mon, Nov 9, 2009 at 7:22 AM, Christian Theune <ct@gocept.com> wrote:
Hi,
I'm wondering:
Scenario 1: I pack a storage to a time T and append X transactions after that
Scenario 2: I append X transactions to a storage and then pack it to time T.
Will those scenarios end up with the same result? I can imagine GC to get in the way, but I'm not sure about how it does its thing exactly.
The question can also be phrased as: Are the operations "pack" and "append transaction" for storages commutative?
Yes, as long as the pack time is before the time of the appended transactions. Jim -- Jim Fulton
On 11/09/2009 02:47 PM, Jim Fulton wrote:
On Mon, Nov 9, 2009 at 7:22 AM, Christian Theune <ct@gocept.com> wrote:
Hi,
I'm wondering:
Scenario 1: I pack a storage to a time T and append X transactions after that
Scenario 2: I append X transactions to a storage and then pack it to time T.
Will those scenarios end up with the same result? I can imagine GC to get in the way, but I'm not sure about how it does its thing exactly.
The question can also be phrased as: Are the operations "pack" and "append transaction" for storages commutative?
Yes, as long as the pack time is before the time of the appended transactions.
Right. Cool. Oh joy, oh joy! :) -- Christian Theune · ct@gocept.com gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1 Zope and Plone consulting and development
On 2009-11-09, Christian Theune <ct@gocept.com> wrote:
On 11/09/2009 02:47 PM, Jim Fulton wrote:
On Mon, Nov 9, 2009 at 7:22 AM, Christian Theune <ct@gocept.com> wrote:
I'm wondering:
Scenario 1: I pack a storage to a time T and append X transactions after that
Scenario 2: I append X transactions to a storage and then pack it to time T.
Will those scenarios end up with the same result? I can imagine GC to get in the way, but I'm not sure about how it does its thing exactly.
The question can also be phrased as: Are the operations "pack" and "append transaction" for storages commutative?
Yes, as long as the pack time is before the time of the appended transactions.
Right. Cool. Oh joy, oh joy! :)
Sounds like you're working on your zeo sync tool? :-) Reinout -- Reinout van Rees - reinout@vanrees.org - http://reinout.vanrees.org Software developer at http://www.thehealthagency.com "Military engineers build missiles. Civil engineers build targets"
Reinout van Rees wrote:
Sounds like you're working on your zeo sync tool? :-)
zeoraid. It's been around for a while now, but it's finally going to see some action... Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk
participants (4)
-
Chris Withers -
Christian Theune -
Jim Fulton -
Reinout van Rees