oscaruser@programmer.net
2006-Jun-13 19:39 UTC
[Xapian-discuss] xapian-compact seg faulting & Re: [Xapian-discuss] Error msg xapian-compact: The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation
I am fairly confident that these issues are related to killing the scriptindex process ungracefully causing blocks that were queued for writing to disk to not get written. I mention to send you the file because it could be that you would see almost immediately with the situation is. Thanks> ----- Original Message ----- > From: oscaruser@programmer.net > To: xapian-discuss@lists.xapian.org > Subject: Re: [Xapian-discuss] xapian-compact seg faulting & Re: [Xapian-discuss] Error msg xapian-compact: The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation > Date: Tue, 13 Jun 2006 10:05:34 -0800 > > > Olly, > > True something wrong with my setup. How I can send you the file (~6.4 MB gz)? > > Thanks, > OSC > > > ----- Original Message ----- > > From: "Olly Betts" <olly@survex.com> > > To: oscaruser@programmer.net > > Subject: Re: [Xapian-discuss] xapian-compact seg faulting & Re: > > [Xapian-discuss] Error msg xapian-compact: The revision being > > read has been discarded - you should call > > Xapian::Database::reopen() and retry the operation > > Date: Tue, 13 Jun 2006 02:03:51 +0100 > > > > > > This is very odd. Flint currently seems rock solid for everybody using > > it apart from you where it seems very flaky. If I could reproduce the > > problem, I should be able to pin down what's wrong and fix it, but I > > can't from the information you've provided so far. > > > > For example, Gmane uses xapian-compact to merge 2 databases every night, > > and even uses the -F option like you do. For a full rebuild (which I > > must have done at least 10 times) it merges one database per million > > documents, so that's more than 30. Tweakers.net use flint on a large > > system and run xapian-compact frequently and they're very happy with > > the stability. I know of several other happy flint users (and there > > are probably more I don't know of). > > > > I don't understand what's the difference which is causing you these > > problems. I suspect if we can work that out this will be fairly easy to > > resolve. > > > > On Mon, Jun 12, 2006 at 11:35:53AM -0800, oscaruser@programmer.net wrote: > > > I think it may also be time to develop a tool to validate the integrity > > > of a flint index. > > > > If you can run copydatabase on a database, it's in good shape with the > > possible exception of the postlist table. > > > > If you want something more specific, quartzcheck is probably a good > > starting point. The flint and quartz formats still have quite a bit > > in common. > > > > Cheers, > > Olly > > > -- > ___________________________________________________ > Play 100s of games for FREE! http://games.mail.com/ > > > _______________________________________________ > Xapian-discuss mailing list > Xapian-discuss@lists.xapian.org > http://lists.xapian.org/mailman/listinfo/xapian-discuss>-- ___________________________________________________ Play 100s of games for FREE! http://games.mail.com/
Olly Betts
2006-Jun-14 01:13 UTC
[Xapian-discuss] xapian-compact seg faulting & Re: [Xapian-discuss] Error msg xapian-compact: The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation
On Tue, Jun 13, 2006 at 10:38:53AM -0800, oscaruser@programmer.net wrote:> I am fairly confident that these issues are related to killing the > scriptindex process ungracefully causing blocks that were queued for > writing to disk to not get written.The update order is carefully designed such that if the blocks aren't written, the new version doesn't go live and we stick with the old one. So I'm doubtful of this explanation. If you think I'm wrong, see if you can repeat the problem by interrupting an update... You didn't answer my question about whether this is a one-off incident or whether it happens if you run the system again from scratch. Cheers, Olly
Seemingly Similar Threads
- (Solved) Re: How to configure omega.cgi to search multiple flint dbs?
- Re: [Xapian-commits] 7603: trunk/xapian-core/trunk/xapian-core/backends/flint/ trunk/xapian-core/backends/quartz/
- Flint failed to deliver indexing performance to Quartz.
- Empty results OMEGA with XAPIAN 1.0.1
- Re: [Xapian-commits] 8351: trunk/xapian-core/ trunk/xapian-core/backends/flint/