[Xapian-discuss] Multithread problem: Writing to a db disables reading from another one

Robert Pollak robert.pollak at fabasoft.com
Mon Jul 26 15:30:31 BST 2004


I wrote:
> I then expanded Richard's example by adding a second writer that writes 
> to a separate database (see attachment).
> (I am also reopening the db if necessary.)
> Now the queries give empty results!

The queries didn't cause DatabaseModifiedErrors. Should't they?

After reading Olly's <http://lists.tartarus.org/pipermail/xapian-discuss/2004-June/000148.html>
I made the readers work by reopening the database preemptively before each query.

-- 
Robert Pollak
GPG Key ID: 748646AD



More information about the Xapian-discuss mailing list