threefoldtech / 0-db

Fast write ahead persistent redis protocol key-value store
Apache License 2.0
39 stars 10 forks source link

core: add a lock file to index/data directory to avoid double zdb instance #118

Closed maxux closed 2 years ago

maxux commented 2 years ago

To avoid multiple zdb instance using the same data/index directory, a lock mechanism should be put in place

maxux commented 2 years ago

Fixed by 703fc2cd97cddcc4bb484c26e9ae045390b93394