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

Teardown broken databases temporary for repairing #78

Open
oleiade opened this issue Oct 3, 2012 · 0 comments
Open

Teardown broken databases temporary for repairing #78

oleiade opened this issue Oct 3, 2012 · 0 comments

Comments

@oleiade
Copy link
Owner

oleiade commented Oct 3, 2012

Implies the usage of a dedicated repairing worker.

The process should look like this :
* Client sends a request, which raises a LevelDBError Corruption
* The worker which received the request, responds with a CorruptionError, extracts the db for the DatabasesHandler, calls for the repairing worker, and wait for it's completion (When the db has been repair, it should be put back in the DatabaseHandler).
* When the repairing worker is done, it reinserts the repaired db in DatabasesHandler, and closes
* The worker which received the request detects the db has been put back in DatabasesHandler, sets it self up again.

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

No branches or pull requests

1 participant