Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LevelDB Corruption Issue #98

Open
surein opened this issue Nov 23, 2018 · 4 comments
Open

LevelDB Corruption Issue #98

surein opened this issue Nov 23, 2018 · 4 comments

Comments

@surein
Copy link

surein commented Nov 23, 2018

Facing LevelDB Corruption issues with the below errors intermittently. We are using 0.7 version of leveldb

  1. Caused by: java.io.FileNotFoundException: ./leveldb/mapdbcache/117067.sst (No such file or directory)
  2. LevelDB corruption java.lang.RuntimeException: Could not open table 20021
@zhenyuyin
Copy link

Caused by: java.io.FileNotFoundException: friendxdb/offlinechatmsg_9/000516.sst (No such file or directory)

@zhenyuyin
Copy link

Who can help me ?

@dain
Copy link
Owner

dain commented Dec 9, 2018

I haven't done much worked on this project in several years, so I can't offer much help other than the obvious Does that directory and file exist?. If the directory and file exist, there is some configuration issue. If the directory exists and the file is missing, I'm not sure what the issue is. I'd use a debugger to see why it is looking for that file.

@zhenyuyin
Copy link

zhenyuyin commented Dec 17, 2018

@dain
The merged thread deletes the file. This operation is executed along with the read thread. The read thread does not know that the file has been deleted in a short time. Capture this exception and try to read it again. After 1- n times, it will go to the correct one File read data
I use Google Translate, I don't know if you can understand what I said.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants