Closed
Bug 484883
Opened 16 years ago
Closed 6 years ago
Allow the disabling of file locking in SQLite
Categories
(Core :: SQLite and Embedded Database Bindings, defect)
Core
SQLite and Embedded Database Bindings
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: sdwilsh, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [tb3wants][no l10n impact])
We should consider allowing people to pref off file locking in SQLite. This can impact people who use buggy networked file systems, and turning it off my fix their issue. From drh:
You can have SQLite use dot-file locking, or no locking at all.
You are right. It is a broken filesystem. But we still have to work around it, don't we....
For your use of SQLite do you really have to have file locking? Do you ever have two or more open connections to the same database file? [we do not, or at least, should not]
If that is the case, you can open your database connections using sqlite3_open_v2() and specify a VFS of "unix-none" and it will skip the file locking all together. Should work anywhere, then.
Maybe make it an option for rare users who want to run FF with their home directory mounted on a broken filesystem?
This is a critical issue for FF profiles located in the Windows offline file cache.
e.g.
H: is mapped to a network home directory where the FF user profile is.
h: is marked as "available offline" so that its contents are replicated in the local cache.
When FF is stated when disconnected you get a sql file locking error.
Updated•15 years ago
|
Whiteboard: [tb3needs]
Comment 2•15 years ago
|
||
It's not clear to me how to prioritize this for Thunderbird 3, but I'm hoping that if someone answers the question posed in bug 503374 comment 14, that will help shed some light on the issue.
Updated•15 years ago
|
Whiteboard: [tb3needs] → [tb3needs][no l10n impact]
Comment 3•15 years ago
|
||
Bug 503374 comments 8 and 15, it would be great to have this fixed, but not at the cost of preventing all the other recent Thunderbird work from getting into the hands of end users (i.e. if this were the last bug standing, we wouldn't block on it). Changing from [tb3needs] to [tb3wants].
Whiteboard: [tb3needs][no l10n impact] → [tb3wants][no l10n impact]
Comment 4•12 years ago
|
||
a part of this has been implemented in bug 433129, on linux systems is now possible to use the excl-unix vfs that solves most of the problems (though it's slower than default locking).
Blocks: 719952
Comment 5•6 years ago
|
||
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
Updated•3 months ago
|
Product: Toolkit → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•