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

2008-11-21 Thread Tayssir John Gabbour
Leslie P. Polzer wrote: > On Fri, Nov 21, 2008 at 11:02:21AM +0100, Tayssir John Gabbour wrote: >> foo-user> (asdf:oos 'asdf:load-op :elephant-tests) >> ... >> foo-user> (ele-tests::do-test-spec 'testthreads) >> NIL > > In fact this shoul

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

2008-11-21 Thread Tayssir John Gabbour
Tayssir John Gabbour wrote: > Leslie P. Polzer wrote: > > On Fri, Nov 21, 2008 at 11:02:21AM +0100, Tayssir John Gabbour wrote: > >> foo-user> (asdf:oos 'asdf:load-op :elephant-tests) > >> ... > >> foo-user> (ele-tests::do-test-spec 'testthr

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

2008-11-21 Thread Tayssir John Gabbour
Alex Mizrahi wrote: > 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

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

2008-11-21 Thread Tayssir John Gabbour
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, 2008, at 11:16 AM,

[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

[elephant-devel] Btree-index-cursor issues

2008-06-23 Thread Tayssir John Gabbour
Hi! Is there something like WITH-INDEX-CURSOR or WITH-BTREE-INDEX-CURSOR? Also, btree-index-cursors (under Postmodern) can't print, signalling an unbound-slot error: (open-store *my-spec*) (add-to-root :blah (make-indexed-btree)) (add-index (get-from-root :blah) :index-name :ind

Re: [elephant-devel] Schema evolution

2007-11-05 Thread Tayssir John Gabbour
Ian Eslick wrote: > Redefining a class via defclass, thus initiating calls to change- > instance-for-redefined-class is harder because it is lazy in some > (or all) lisps. When a defclass causes a change in a standard class > schema, the instances of that class are updated at latest when an > obj

[elephant-devel] Patch for Postmodern backend, to specify ports

2007-10-24 Thread Tayssir John Gabbour
Hi, Just a little patch, so you can specify :port of your running Postgresql server... MfG, Tayssir New patches: [Postmodern backend: connection spec now accepts :port keyword argument, to specify the port. Similar to Postmodern's connection spec syntax. [EMAIL PROTECTED] { hunk ./src/db-po

Re: [elephant-devel] Request for some sort of response....

2006-05-22 Thread Tayssir John Gabbour
Robert L. Read wrote: > Somebody please respond to this, or, if you prefer, respond to me > personally at the address below. Hi Robert. Sure, I'll help test... writing it down in my calendar for tomorrow. (I didn't read the volunteer email carefully, and assumed it was for people who already had s