[Lustre-discuss] Lustre & SQLite

Oleg Drokin Oleg.Drokin at Sun.COM
Wed Feb 11 13:41:21 PST 2009


Hello!

On Feb 11, 2009, at 4:19 PM, Michal Wesolowski wrote:
> In SQLite documentation (http://www.sqlite.org/lockingv3.html) there  
> is
> statement that this db engine uses advisory locks to protect shared  
> date. I know
> Lustre doesn't implement this yet. So my questions are:
> - Am I right suspecting that for current Lustre version (1.6.6)  
> there is real
> risk of SQLite files corruption (in a sense of their integrity - not  
> from fs
> point of view) even if using flock option?
> - Are advisory locks still planned to come with 1.8 version (as it  
> is indicated
> in current Lustre Operation Manual, but there is no such feature in  
> November
> Roadmap slide on wiki.lustre.org site)?

Lustre supports posix advisory locks. You can enable it with -o flock  
mount option
(on all clients).
-o localflock is posix advisory locks with no cluster coherency, so it  
is unsafe
for the same database used across several nodes.

Bye,
     Oleg



More information about the lustre-discuss mailing list