ardb
ardb copied to clipboard
Can't start ardb with leveldb, nothing in logs
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.
is ardb restarted with old data? seems the data is corrupted.
and which levedb version are u using?
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.