[Xapian-discuss] Error msg xapian-compact: The revision being
read has been discarded - you should call Xapian::Database::reopen()
and retry the operation
oscaruser at programmer.net
oscaruser at programmer.net
Thu Jun 8 00:57:15 BST 2006
Folks,
It looks like it is happening with one of the input dbs (bsp0010), and seems to take about 10 minutes of running before aborting. I ran strace on the call to see where it was crashing and observed the following output.
Thanks,
OSC
stat64("/svr/hda1/omega/data/bsp0010/default/record.DB", {st_mode=S_IFREG|0644, st_size=2146304, ...}) = 0
open("/svr/hda1/omega/data/bsp0010/default/record.baseA", O_RDONLY|O_LARGEFILE) = 4
read(4, "\270\23\5\200@\203\2\1!\266\23\203\2\0\0\270\23\377\377"..., 1024) = 52
read(4, "", 972) = 0
read(4, "", 33) = 0
close(4) = 0
open("/svr/hda1/omega/data/bsp0010/default/record.baseB", O_RDONLY|O_LARGEFILE) = 4
read(4, "\271\23\5\200@\205\2\1!\267\23\205\2\0\0\271\23\377\377"..., 1024) = 52
read(4, "", 972) = 0
read(4, "", 33) = 0
close(4) = 0
open("/svr/hda1/omega/data/bsp0010/default/record.DB", O_RDONLY|O_LARGEFILE) = 4
_llseek(4, 2138112, [2138112], SEEK_SET) = 0
read(4, "\0\0\t\271\1\21\353\21\353\2\21\37\371\37\356\37\343\37"..., 8192) = 8192
_llseek(4, 0, [0], SEEK_SET) = 0
read(4, "\0\0\0\25\0\20;\20;\0!\37\371\36b\34\306\33\323\32U\30"..., 8192) = 8192
_llseek(4, 16384, [16384], SEEK_SET) = 0
read(4, "\0\0\0\37\0\20\20\20\20\0\37\0365\34\210\32\330\31O\30"..., 8192) = 8192
_llseek(3, 8667136, [8667136], SEEK_SET) = 0
write(3, "\0\0\0\1\0\0\3\0\3\0005\37\216\35\302\34\36\32X\30\357"..., 8192) = 8192
_llseek(4, 24576, [24576], SEEK_SET) = 0
...
read(4, "\0\0\5c\0\0214\0214\0\35\36R\34\272\33\16\31A\27\256\26"..., 8192) = 8192
_llseek(4, 1163264, [1163264], SEEK_SET) = 0
read(4, "\0\0\5l\0\21c\21c\0\35\36\206\35\1\33*\31h\27\257\25\354"..., 8192) = 8192
_llseek(3, 9232384, [9232384], SEEK_SET) = 0
write(3, "\0\0\0\1\0\0\0\0\0\0005\37\301\36\24\34:\32}\30\343\027"..., 8192) = 8192
_llseek(4, 1171456, [1171456], SEEK_SET) = 0
read(4, "\0\1\253 \3\16\326\20\2\1\306\4\0\1\347\1\0\1\203\24\0"..., 8192) = 8192
close(4) = 0
close(3) = 0
write(2, "/home/oscar/xapian/bin/xapia"..., 41/home/oscar/xapian/bin/xapian-compact) = 41
write(2, ": ", 2: ) = 2
write(2, "The revision being read has been"..., 111The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation) = 111
write(2, "\n", 1
) = 1
munmap(0x401c5000, 4096) = 0
exit_group(1) = ?
> ----- Original Message -----
> From: oscaruser at programmer.net
> To: xapian-discuss at lists.xapian.org
> Subject: [Xapian-discuss] Error msg xapian-compact: The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation
> Date: Wed, 07 Jun 2006 14:40:33 -0800
>
>
> Folks,
>
> While running xapian-compact across a number of flint indicies, I
> receive the following error message. There are no other clients
> attempting to read or write the databases than xapian-compact. It
> could be that I killed the scriptindex process while a flint index
> was being updated, which may have caused corruption. Is there a way
> to repair the index in that case? Are there other reasons why this
> could have happened? Is there a way to validate the integrity of an
> index?
>
> Thanks,
> OSC
>
> gamma:/svr/hda1/gigablast/ppa-index3#
> /home/oscar/xapian/bin/xapian-compact -F -m
> /svr/hda1/omega/data/bsp*/default /svr/hda1/xapian/default
> postlist: Reduced by 62.0901% 693328K (1116648K -> 423320K)
> record .../home/oscar/xapian/bin/xapian-compact: The revision being
> read has been discarded - you should call
> Xapian::Database::reopen() and retry the operation
> gamma:/svr/hda1/gigablast/ppa-index3#
>
--
___________________________________________________
Play 100s of games for FREE! http://games.mail.com/
More information about the Xapian-discuss
mailing list