POSIX lock can be held for a file on a GFS2 filesystem before fencing is completed

Solution Unverified - Updated -

Issue

  • The following behaviour can be observed.
    1. Process A on node1 locks a file on a GFS2 filesystem with fcntl().
    2. Process B on node2 tries to get the lock of the file, and it waits for the lock.
    3. The communication between nodes is disconnected.
    4. Both nodes are left from the cluster due to totem.token timeout.
    5. The process B gets the lock.
    6. Fencing is completed.

Environment

  • Red Hat Enterprise Linux 8
  • GFS2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content