-
-
Notifications
You must be signed in to change notification settings - Fork 176
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
Is it possible/reasonnable to repair the database while in use? #237
Comments
@julien-f Why would you need to repair a db that is in use? |
The documentation says that this can also be used to compact the database. Anyway my question is more: should I protect my users against repairing while the db is in use because leveldown/leveldb does not guard against it? |
Good question. Not sure how you could guard against it though. |
@julien-f that sounds like the type of feature that @rescrv might have in https://github.com/rescrv/HyperLevelDB but he would need to confirm (of Deny) |
@julien-f it's been awhile, but if you are using |
Edit: I realized I could just use the range of keys that were deleted to do the compaction. Is there a way to call The main use case here is to compact a database when all the data has been removed. I noticed without compaction, a good bit of |
No description provided.
The text was updated successfully, but these errors were encountered: