I think it is a important bug. When there are mutiple write to a xapian db, it should raise db locked error. But I found the DB is currupted after that. It happened very often in our system. Yes, I know xapian support only one write. But admin mistake may happen. Can this be solved? thanks. -- Pan
James Aylett
2011-Nov-01 11:47 UTC
[Xapian-discuss] xapian database corrupt with multi-write
On 30 Oct 2011, at 23:30, ??? wrote:> When there are mutiple write to a xapian db, it should raise db locked > error. But I found the DB is currupted after that. > > It happened very often in our system.I can't reproduce this here, and that kind of bug would bite a lot of people if it were general. It seems likely that there's something specific to the way you're doing things. Are you getting the DatabaseLockError raised, and then on subsequent open finding the database to be corrupt? Or are you not seeing the exception and subsequently finding the database to be corrupt? J -- James Aylett talktorex.co.uk - xapian.org - devfort.com