Currently we write a db.lock file in the replica directory for each replica, however, this should really not be necessary since we already have a data-dir lockfile. This db.lock lock file has caused us issues with databases not being able open, so we would like to remove this file.
TODO:
- Investigate and ensure that this lockfile is truly redundant
- Ensure that opening the replica twice will not have problems
- Remove the lockfile.
Currently we write a
db.lockfile in the replica directory for each replica, however, this should really not be necessary since we already have adata-dirlockfile. Thisdb.locklock file has caused us issues with databases not being able open, so we would like to remove this file.TODO: