[elephant-devel] db gc

Ben ben at medianstrip.net
Mon Mar 14 22:02:44 UTC 2005


hey! thanks for the patch.

ok, i've changed my mind, i'll do one last set of patches to elephant
and cut a release, to include all of gabor and other people's fixes.

gabor, let me know when you feel like a good time to do this is,
e.g. when your code will settle.  i'll try to take a serious look at
it too at some point.

B

On Sun, 13 Mar 2005, [utf-8] Gábor Melis wrote:

> On Thursday 03 March 2005 21:10, Ben wrote:
>> it appears that maybe i'm storing objects incorrectly.  perhaps the
>> right way to do this is to store objects as OIDs without classes, and
>> then have a separate OID -> class table.  that way change-class can
>> work correctly.  it depends on if you think change-class should update
>> the DB or not, though.  (mental note to self: if one implements this,
>> one should make sure the instance cache code does the right thing
>> e.g. check the class before handing back a cached instance!)
>
> This patch does what you describe except for the mental not which I do not
> understand. I thought my full text indices were big because the class name is
> stored in each reference to the persistent object. Turns out I was mistaken,
> but here it is anyway. The gc had to be modified a bit, too.
>
> Gábor
>


More information about the elephant-devel mailing list