rocksdb icon indicating copy to clipboard operation
rocksdb copied to clipboard

Question: whats Corruption mean?

Open libleo opened this issue 10 years ago • 2 comments

I use

Status s = m_db->Get(rocksdb::ReadOptions(), keyword, &value); value is right, but status is kCorruption

what's that mean?

libleo avatar Jun 03 '16 03:06 libleo

Can you print out s.ToString()? It will provide more information.

siying avatar Jun 06 '16 20:06 siying

Thanks, I fix it, use m_db->Flush(rocksdb::FlushOptions());

libleo avatar Jun 07 '16 10:06 libleo