[Zope-dev] Packing and GC versus packtime

Christian Theune ct at gocept.com
Mon Nov 9 08:54:38 EST 2009


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:
>> 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 at 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



More information about the Zope-Dev mailing list