* [sup-devel] error after leveldb-ruby upgrade
@ 2011-07-17 17:42 Hamish D
2011-07-17 20:05 ` William Morgan
0 siblings, 1 reply; 4+ messages in thread
From: Hamish D @ 2011-07-17 17:42 UTC (permalink / raw)
To: Sup developer discussion
Hello
I've just done a git pull, and noticed there was a bump in version of
leveldb-ruby, so did a gem update to 0.7.
Then when trying to run heliotrope-add or heliotrope-server, it
immediately dies with:
$ heliotrope-server -d ~/.heliotrope
/var/lib/gems/1.9.1/gems/leveldb-ruby-0.7/lib/leveldb.rb:11:in `make':
Corruption: checksum mismatch (LevelDB::Error)
from /var/lib/gems/1.9.1/gems/leveldb-ruby-0.7/lib/leveldb.rb:11:in `new'
from /home/mish/dev/sup/heliotrope/lib/heliotrope/index.rb:45:in `initialize'
from /home/mish/dev/sup/heliotrope/bin/heliotrope-server:583:in `new'
from /home/mish/dev/sup/heliotrope/bin/heliotrope-server:583:in `<main>'
Any ideas?
Hamish
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [sup-devel] error after leveldb-ruby upgrade
2011-07-17 17:42 [sup-devel] error after leveldb-ruby upgrade Hamish D
@ 2011-07-17 20:05 ` William Morgan
2011-07-17 22:51 ` Hamish D
0 siblings, 1 reply; 4+ messages in thread
From: William Morgan @ 2011-07-17 20:05 UTC (permalink / raw)
To: sup-devel
Reformatted excerpts from Hamish D's message of 2011-07-17:
> $ heliotrope-server -d ~/.heliotrope
> /var/lib/gems/1.9.1/gems/leveldb-ruby-0.7/lib/leveldb.rb:11:in `make':
> Corruption: checksum mismatch (LevelDB::Error)
That error gets thrown when LevelDB detects things are corrupted, but
I'd be surprised if the upgrade to 0.7 caused this--the only change was
one in how memory in the Ruby world is free'd. None of the actual
LevelDB code changed.
If you downgrade to 0.6, do you still get that error? Are you running
out of disk space, or anything like that?
--
William <wmorgan-sup@masanjin.net>
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [sup-devel] error after leveldb-ruby upgrade
2011-07-17 20:05 ` William Morgan
@ 2011-07-17 22:51 ` Hamish D
2011-07-18 4:21 ` William Morgan
0 siblings, 1 reply; 4+ messages in thread
From: Hamish D @ 2011-07-17 22:51 UTC (permalink / raw)
To: Sup developer discussion
On 17 July 2011 21:05, William Morgan <wmorgan-sup@masanjin.net> wrote:
> Reformatted excerpts from Hamish D's message of 2011-07-17:
>> $ heliotrope-server -d ~/.heliotrope
>> /var/lib/gems/1.9.1/gems/leveldb-ruby-0.7/lib/leveldb.rb:11:in `make':
>> Corruption: checksum mismatch (LevelDB::Error)
>
> If you downgrade to 0.6, do you still get that error? Are you running
> out of disk space, or anything like that?
I still get that error with 0.6 (and 0.5) so I guess there must be
corruption :/ I did upgrade straight from 0.5 to 0.7 o the off chance
that made any difference, but I imagine not. On disk space I have
multiple GB to spare, so I don't think that would be it.
Is there any way to recover from the error? Or do I just have to
delete it all and start again?
Hamish
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [sup-devel] error after leveldb-ruby upgrade
2011-07-17 22:51 ` Hamish D
@ 2011-07-18 4:21 ` William Morgan
0 siblings, 0 replies; 4+ messages in thread
From: William Morgan @ 2011-07-18 4:21 UTC (permalink / raw)
To: sup-devel
Reformatted excerpts from Hamish D's message of 2011-07-17:
> Is there any way to recover from the error? Or do I just have to
> delete it all and start again?
LevelDB provides a recovery function. I'm not sure how well it works.
Give me a day or two to export it with the ruby bindings, and you can
give it a try.
--
William <wmorgan-sup@masanjin.net>
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-07-18 4:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-17 17:42 [sup-devel] error after leveldb-ruby upgrade Hamish D
2011-07-17 20:05 ` William Morgan
2011-07-17 22:51 ` Hamish D
2011-07-18 4:21 ` William Morgan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox