-
-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Use the locking algorithm from miquels/liblockfile (also bruceg/dotlock and nightlyone/lockfile) to avoid crashes being unrecoverable from.
Only on Unix, and only for the main database lock.
Outside Unix, keep using O_EXCL
for the main database lock: it's a portable Go API for this purpose, which any Go platform should support.
For the shared memory index, keep using Mkdir
to "reserve" the file name, which improves data safety, as it conflicts with the default VFSes.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request