[Zope-dev] Packing and GC versus packtime

Reinout van Rees reinout at vanrees.org
Tue Nov 10 08:20:28 EST 2009


On 2009-11-09, Christian Theune <ct at 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 at 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 at vanrees.org - http://reinout.vanrees.org
Software developer at http://www.thehealthagency.com
"Military engineers build missiles. Civil engineers build targets"



More information about the Zope-Dev mailing list