[elephant-devel] Is it safe to use the same elephant store in two different processes?

Ian Eslick eslick at media.mit.edu
Fri Dec 12 00:42:29 UTC 2008


Multiple lisp processes (in a shared memory environment) should be  
safe, but I'm not sure if it's tested (anyone here done this?).

I believe they have to use the same BDB environment, so you may need  
to do some checking on the proper open-store arguments to join vs.  
create an environment.  Some defaults in weblocks or elephant may  
interfere with this.  bdb-controller.lisp - open-controller definition  
shows you what arguments are passed to BDB when it is opened.

Regardless, please upgrade to BDB 4.7.  Most of us using unstable are  
on 4.6 or 4.7 now.  I'd rather not track down issues associated with  
non-compatible upgrades (it should work, but testing coverage is  
getting tougher with all the system combinations of backends, BDB  
versions, DB versions, etc).

Ian

On Dec 11, 2008, at 5:23 PM, Yarek Kowalik wrote:

> I'm trying to access BDB 4.5 backed elephant store (elephant- 
> unstable) from two different lisp processes using the elephant  
> package.   Is this a safe thing to do?
>
> Yarek
> _______________________________________________
> elephant-devel site list
> elephant-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/elephant-devel





More information about the elephant-devel mailing list