Florian Heinle
9 months
Claus-Theodor Riegg
8 years
Kim Klotz
11 months
Moritz Kraus
1 year
Claus-Theodor Riegg
1 year
Stefan Xenopol
1 year

Don't use flock with GlusterFS

Posted 12 months ago. Visible to the public.

We recently encountered a problem with GlusterFS (7.x) when an application used the flock syscall on a GlusterFS path. If somehow two flock syscalls are made at the same time, the lock will never be released. And all future flock syscalls will wait forever.

This problem doesn't happen only on our infrastructure. There are a lot of bugreports, e.g.:

There are also entries regarding flock or locking in general in each major release notes:

Last edit
12 months ago
Kim Klotz
License
Source code in this card is licensed under the MIT License.