Re: [elephant-devel] Dropping DB connection during writes

2008-11-20 Thread Ian Eslick
with-open-store closes the store when you're done, null'ing out *store- controller*. With sufficient concurrency you are likely to get a race condition where the if stmt in with-city-store succeeds but the body fails since you aren't locking access to *store-controller*. Ian On Nov 20, 200

Re: [elephant-devel] Dropping DB connection during writes

2008-11-20 Thread Alex Mizrahi
TJG> With Elephant under both Postmodern and CLSQL, I'm consistently losing TJG> my DB connection. This apparently happens when writing from fairly TJG> simultaneous threads. (Two threads may write to the same btree key at TJG> around the same time.) weird. could be broken Lisp implementation,

[elephant-devel] Dropping DB connection during writes

2008-11-20 Thread Tayssir John Gabbour
Hi! With Elephant under both Postmodern and CLSQL, I'm consistently losing my DB connection. This apparently happens when writing from fairly simultaneous threads. (Two threads may write to the same btree key at around the same time.) All I do is add objects to a BTree, keyed by their UUID. (And