[grisbi-user] Database lock

Rainer rgpb at online.de
Thu Dec 12 19:48:46 CET 2013


On 12.12.2013 12:30, Rainer wrote:
> If two persons are using the same database on a shared mount from two different computers,
> data loss is not impossible.
> Did not find anything in the manuals, and feel there is no file lock,
> and short test (0.6.0 linux vs. 0.8.9 winxp) showed that the one who writes first looses his data.
> Is this tackled in 1.x ?

Could meanwhile compile the sources and found out that a lock file is created,
but in /tmp (or wherever temp is), and not in the directory where the file is.

Thus, starting a second instance from Windows over a SMB file share will not see the lock.

Is this a bug for the bug database, or a feature request to put the lock into the same directory as the file?

Rainer



More information about the user mailing list