Bug 317714 - Consider working on NFS shares a legitimate use case (even for the targeted home environment)
Summary: Consider working on NFS shares a legitimate use case (even for the targeted h...
Status: RESOLVED UPSTREAM
Alias: None
Product: digikam
Classification: Applications
Component: Database-Media (show other bugs)
Version: 3.1.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-02 08:21 UTC by Holger Steinhaus
Modified: 2022-01-14 10:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Steinhaus 2013-04-02 08:21:30 UTC
The first-run assistant advises not to store the metadata db on a network share. This is a very dangerous advice in environments, where all user data is normally kept on network shares and local drives are not subject to backup (like in my home environment employing a central NAS device).

Reproducible: Always

Steps to Reproduce:
n/a
Comment 1 Marcel Wiesweg 2013-04-02 19:32:22 UTC
This is not something in our scope to fix for SQLite,
Please read http://www.sqlite.org/atomiccommit.html section 9.1 for further information.
Of course, MySQL will not be affected.
Comment 2 Rex Dieter 2013-04-04 16:16:08 UTC
This?

"We have received reports of implementations of both Windows network filesystems and NFS in which locking was subtly broken. We can not verify these reports, but as locking is difficult to get right on a network filesystem we have no reason to doubt them. You are advised to avoid using SQLite on a network filesystem in the first place, since performance will be slow. But if you must use a network filesystem to store SQLite database files, consider using a secondary locking mechanism to prevent simultaneous writes to the same database even if the native filesystem locking mechanism malfunctions."

doesn't exactly say it can't work, just that it's unreliable in some nfs implementations.  am I missing something?
Comment 3 Marcel Wiesweg 2013-04-04 20:12:29 UTC
Yes, it's possible that it works, but I dont know really and cannot recommend.  I believe the message was much more strict some years ago.