Re: [elephant-devel] Dropping values

2009-12-17 Thread Edward Tate
Hey Ian, I found the problem, I was indexing objects by their ele::oid which is a number. When I index by string it works. Cheers, Edward Tate On Thu, Dec 17, 2009 at 2:08 PM, Ian Eslick wrote: > Hi Edward, > > I'm unable to reproduce with my local version of the latest Elephant > (latest, ccl

Re: [elephant-devel] Dropping values

2009-12-17 Thread Ian Eslick
Hi Edward, I'm unable to reproduce with my local version of the latest Elephant (latest, ccl64, DB 4.7, Mac). Can you give me a transcript like: (setf btree (make-btree)) (setf (get-value 'foo btree) 10) (setf (get-value 'bar btree) 20) (dump-btree btree) (remove-kv 'foo btree) (dump-btree btre

[elephant-devel] Dropping values

2009-12-17 Thread Edward Tate
Hey, I'm using the latest elephant on SBCL 1.0.29 with BDB 4.7, and I'm getting strange behaviour. * Using remove-kv doesn't actually delete keys from a btree. * Using drop-btree doesn't actually drop the btree. * Using flush-instance-cache doesn't seem to help. * Doing a full GC doesn't seem to