ardb icon indicating copy to clipboard operation
ardb copied to clipboard

Can't start ardb with leveldb, nothing in logs

Open daddyz opened this issue 9 years ago • 3 comments

Here is what written in logs:

[30600] 03-12 09:13:24,507 INFO Recovering log #185044
[30600] 03-12 09:13:25,109 INFO Delete type=3 #185043

[30600] 03-12 09:13:25,111 INFO Delete type=2 #185045

[30600] 03-12 09:13:25,112 INFO Delete type=0 #185044

[30600] 03-12 09:13:25,130 INFO Compacting 1@4 + 4@5 files

And this is the last string catched in strace

ardb-server: table/table_builder.cc:97: void leveldb::TableBuilder::Add(const leveldb::Slice&, const leveldb::Slice&): Assertion `r->options.comparator->Compare(key, Slice(r->last_key)) > 0' failed

Any help appreciated.

daddyz avatar Mar 12 '17 09:03 daddyz

is ardb restarted with old data? seems the data is corrupted.

yinqiwen avatar Mar 15 '17 07:03 yinqiwen

and which levedb version are u using?

yinqiwen avatar Mar 15 '17 07:03 yinqiwen

I use leveldb-1.19. It's a fresh install with ~350M keys. It ran for a while, and then got restarted without any logs, since then it was restarting.

daddyz avatar Mar 15 '17 07:03 daddyz