[Xapian-discuss] Remote Backend Question

Olly Betts olly at survex.com
Sun Jul 1 15:49:25 BST 2007


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



More information about the Xapian-discuss mailing list