oleiade / Elevator

Elevator is an open source, on-disk key-value store. Provides high-performance bulk read-write operations over very large datasets while exposing a simple and efficient API.
http://elevator.readthedocs.org
MIT License
71 stars 12 forks source link

Fix: DatabasesHandler.mount() called leveldb.LevelDB() after DatabasesHandler._get_db_connector() #104

Closed ggreg closed 12 years ago

ggreg commented 12 years ago

It made the same process opening the same database (on first time 'default') twice and getting the exception:

leveldb.LevelDBError: IO error: lock /var/lib/elevator/default/LOCK:
already held by process
oleiade commented 12 years ago

Nice catch, will merge it in 0.4 as a hotfix.