Module management
leveldb::database
destroy a database. You shouldn't hold a handle on the database anywhere at that time.
repair the database. The database should be closed at this moment.