Currently there is a single, global lock for the database. This makes it impossible to use the database on a shared, remote filesystem.
Suggestion:
- Use a database lock for the creation and deletion of a scan.
- Use a lock per scan for the creation/deletion of a fileset & fileset metadata
- Possibly, but not urgent: Use a lock per fileset for the creation/deletion of a file & file metadata
Currently there is a single, global lock for the database. This makes it impossible to use the database on a shared, remote filesystem.
Suggestion: