dbpedia / dbp-same-thing-service

Microservice that looks up global and local IRIs based on the most recent DBpedia ID Management release.
Apache License 2.0
5 stars 1 forks source link

RocksIOError: b'IO error: lock : /dbdata/admin/LOCK: No locks available' #8

Closed aolieman closed 5 years ago

aolieman commented 5 years ago

Release 0.3.1's backup administration can be flaky, due to the lack of an explicit close method on the RocksDB connection.

See this upstream issue: https://github.com/twmht/python-rocksdb/issues/10 It was nearly fixed, but the merged PR can be unreliable: https://github.com/twmht/python-rocksdb/pull/40

Since this error occurs after loading and backup is completed, the resulting database is complete and can be safely used. Two things that should happen but are prevented by this issue: