invalid meta data

109 views
Skip to first unread message

bala.linux

unread,
Jul 23, 2010, 5:45:06 PM7/23/10
to Tokyo Cabinet Users
hello guys,
I am trying to open a corrupted tch file. tchmanager showed "fatal".
But I am able to use tchmgr for get/put but list does not show all the
keys. optimize is not restoring all the keys. so trying to directly
use the api, but tchdbopen throws invalid meta data. please let me
know whether i can open the file forcefully. tchmgr works with this
tch, so i assume it uses the hashing api internally.
please help.
thanks.

bala.linux

unread,
Jul 30, 2010, 5:42:48 AM7/30/10
to Tokyo Cabinet Users
Instead of using libtokyocabinet, I directly used fread() and fetched
all the records.
Reply all
Reply to author
Forward
0 new messages