1 Jul 16:49
Re: Remote Backend Question
Olly Betts <olly <at> survex.com>
2007-07-01 14:49:25 GMT
2007-07-01 14:49:25 GMT
On Sun, May 20, 2007 at 05:30:23PM -0400, Ram Peters wrote:
> Can you have two indexing process on two different machine, accessing
> the backend on a different machine?
I just noticed this old message, and it doesn't seem to have been
replied to.
Xapian only supports a single writer on a database at a time, so you
can't have two remote clients writing to the same remote server at
once.
A single writable server can allow non-concurrent connections from
multiple clients. A client will fail to connect if another client is
already writing, so you'll need to implement a "wait and retry"
strategy, and make sure your clients close the database when they
aren't using it.
Cheers,
Olly
RSS Feed