POSIX lock can be held for a file on a GFS2 filesystem before fencing is completed
Issue
- The following behaviour can be observed.
- Process A on node1 locks a file on a
GFS2
filesystem withfcntl()
. - Process B on node2 tries to get the lock of the file, and it waits for the lock.
- The communication between nodes is disconnected.
- Both nodes are left from the cluster due to
totem.token
timeout. - The process B gets the lock.
- Fencing is completed.
- Process A on node1 locks a file on a
Environment
- Red Hat Enterprise Linux 8
- GFS2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.