level-rocksdb icon indicating copy to clipboard operation
level-rocksdb copied to clipboard

Error while trying to open a database

Open vishal-1408 opened this issue 1 year ago • 0 comments

  • I have tried to open a database of a blockchain using the usual way: const db = level(path).
  • I got the following error, when I tried running the code: node: ../deps/rocksdb/rocksdb/db/version_edit.h:396: void rocksdb::VersionEdit::AddFile(int, uint64_t, uint32_t, uint64_t, const rocksdb::InternalKey&, const rocksdb::InternalKey&, const SequenceNumber&, const SequenceNumber&, bool, uint64_t, uint64_t, uint64_t, const string&, const string&): Assertion 'smallest_seqno <= largest_seqno' failed. Aborted (core dumped)
  • I didn't understand the meaning of this error. Can anyone please help me in debugging this error ? Thank you

vishal-1408 avatar Oct 12 '22 17:10 vishal-1408