[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
Sat Jun 10 20:46:00 BST 2006
Tried to remove *.baseA or *.baseB, then run xapian-compact, but did not succeed. I may not be understanding what you are telling me to do.
Thanks
oscar at delta:/svr/hda1/omega/data/dsp0035/default$ mkdir bak
oscar at delta:/svr/hda1/omega/data/dsp0035/default$ ls -aFl
total 20608
drwxr-xr-x 3 oscar oscar 4096 Jun 10 12:22 ./
drwxr-xr-x 3 oscar oscar 4096 Jun 2 16:29 ../
drwxr-xr-x 2 oscar oscar 4096 Jun 10 12:22 bak/
-rw-r--r-- 1 oscar oscar 12 Jun 2 16:29 iamflint
-rw-r--r-- 1 oscar oscar 7577600 Jun 6 08:03 position.DB
-rw-r--r-- 1 oscar oscar 136 Jun 6 08:02 position.baseB
-rw-r--r-- 1 oscar oscar 7946240 Jun 6 08:02 postlist.DB
-rw-r--r-- 1 oscar oscar 130 Jun 6 08:03 postlist.baseA
-rw-r--r-- 1 oscar oscar 130 Jun 6 08:02 postlist.baseB
-rw-r--r-- 1 oscar oscar 851968 Jun 6 08:02 record.DB
-rw-r--r-- 1 oscar oscar 30 Jun 6 08:00 record.baseA
-rw-r--r-- 1 oscar oscar 30 Jun 6 08:02 record.baseB
-rw-r--r-- 1 oscar oscar 4636672 Jun 6 08:02 termlist.DB
-rw-r--r-- 1 oscar oscar 90 Jun 6 08:02 termlist.baseB
-rw-r--r-- 1 oscar oscar 0 Jun 2 16:29 value.DB
-rw-r--r-- 1 oscar oscar 17 Jun 6 08:00 value.baseA
-rw-r--r-- 1 oscar oscar 17 Jun 6 08:02 value.baseB
oscar at delta:/svr/hda1/omega/data/dsp0035/default$ ~/xapian/bin/xapian-compact -F /svr/hda1/omega/data/dsp0035/default /tmp/xapian
postlist: Reduced by 62.1649% 4824K (7760K -> 2936K)
record: Reduced by 50.9615% 424K (832K -> 408K)
termlist .../home/oscar/xapian/bin/xapian-compact: The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation
oscar at delta:/svr/hda1/omega/data/dsp0035/default$ mv *.baseB bak
oscar at delta:/svr/hda1/omega/data/dsp0035/default$ ls -aF
./ bak/ position.DB postlist.baseA record.baseA value.DB
../ iamflint postlist.DB record.DB termlist.DB value.baseA
oscar at delta:/svr/hda1/omega/data/dsp0035/default$ cd ..
oscar at delta:/svr/hda1/omega/data/dsp0035$ ~/xapian/bin/xapian-compact -F /svr/hda1/omega/data/dsp0035/default /tmp/xapian
/home/oscar/xapian/bin/xapian-compact: Cannot open database at `/svr/hda1/omega/data/dsp0035/default' - it does not exist
oscar at delta:/svr/hda1/omega/data/dsp0035$ cd default
oscar at delta:/svr/hda1/omega/data/dsp0035/default$ ls
bak position.DB postlist.baseA record.baseA value.DB
iamflint postlist.DB record.DB termlist.DB value.baseA
oscar at delta:/svr/hda1/omega/data/dsp0035/default$ mv bak/* .
oscar at delta:/svr/hda1/omega/data/dsp0035/default$ ls
bak position.baseB postlist.baseB record.baseB value.DB
iamflint postlist.DB record.DB termlist.DB value.baseA
position.DB postlist.baseA record.baseA termlist.baseB value.baseB
oscar at delta:/svr/hda1/omega/data/dsp0035/default$ mv *.baseA bak
oscar at delta:/svr/hda1/omega/data/dsp0035/default$ ~/xapian/bin/xapian-compact -F /svr/hda1/omega/data/dsp0035/default /tmp/xapian
postlist: Reduced by 62.1649% 4824K (7760K -> 2936K)
record: Reduced by 50.9615% 424K (832K -> 408K)
termlist .../home/oscar/xapian/bin/xapian-compact: The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation
oscar at delta:/svr/hda1/omega/data/dsp0035/default$
> ----- Original Message -----
> From: "Olly Betts" <olly at survex.com>
> To: oscaruser at programmer.net
> Subject: 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: Sat, 10 Jun 2006 02:07:45 +0100
>
>
> On Fri, Jun 09, 2006 at 10:52:09AM -0800, oscaruser at programmer.net wrote:
...
> Did you look to see if you have a full set of both .baseA and .baseB
> files? If so, my suggestion from a previous mail is most likely to
> save you.
--
___________________________________________________
Play 100s of games for FREE! http://games.mail.com/
More information about the Xapian-discuss
mailing list