Opened 9 years ago

Last modified 6 years ago

#886 new enhancement

Prevent simultaneous use of a data directory

Reported by: dstillman Owned by: dstillman
Priority: major Milestone:
Component: data layer Version: 1.5
Keywords: Cc:

Description

Among other things, this is to make using Zotero over a network drive safer.

If a locked data directory is opened, there could be a warning saying the database is locked (with some indication of the time it was last accessed) and asking if the user wants to override, but Zotero might need to check the lock file every single time it writes to the DB if we want to prevent corruption. I guess we can test that to see if there'd be a performance penalty.

On the other hand, we don't necessarily need to protect against simultaneous use as long as the warning is clear. If someone left Zotero open on Computer A and wants to work on Computer B, Computer A is theoretically not in use, so as long as Zotero on Computer A checks the lock file periodically, or before a write operation coming after a period of inactivity, and before it attempts to do the shutdown backup, it may not be a problem.

Change History (1)

comment:1 Changed 6 years ago by dstillman

  • Milestone 2.0 Beta 3 deleted

Milestone 2.0 Beta 3 deleted

Note: See TracTickets for help on using tickets.