What are the steps required to make flock commands work in AMQ broker running over GlusterFS?
Issue
The AMQ broker code requires the use of the flock command to set file locking. Unfortunately, the FUSE handler code does not register for interrupts, so they are not processed at all, which prevents the flock utility to work as expected. To make the flock command useful in this scenario, a workaround needs to be implemented in AMQ code.
Environment
Red Hat Gluster Storage 3.x
AMQ Broquer
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
