[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-devel] Tokyo Cabinet fails with invalid record header



Reformatted excerpts from Horacio Sanson's message of 2011-06-14:
> Now the store.tch got corrupted again for some reason and the only
> error I get is "invalid record header". Some googling does not help
> and my previous fix (tchmgr optimiza -nl) does not fix this problem.
> What is interesting is that the store.tch file is at 76MB now that is
> exactly the same size it had when the previous corruption occured.

Hm. And you're not running out of disk space or anything wierd like
that, are you?

Maybe you're encountering a limitation on the number of keys? What does
this say for you?

  $ ruby -Ilib bin/heliotrope-console -d store
  Heliotrope console started.
  [...]
  > s = index.instance_eval { @store }
  [...]
  > s.size
  => 234201
  > s.keys.size
  => 234201

(My store.tch is only 30mb.)
-- 
William <wmorgan-sup@masanjin.net>
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel