Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4705

Add keep alive support to shared file locker

    XMLWordPrintableJSON

Details

    Description

      issue on nsfv4 with a master slave configuration, where both the slave and the master could obtain a lock.
      The following events occurred:

      • master locks the file - does no more i/o to it – it's passive wrt the lock
      • slave asks every 10 seconds if it can get the lock nfs come back and say no, someone has it
      • nfs dies not nicely
        • nfsv4 is stateful - no callback for locks.
        • It has a grace period of 30 seconds to let all clients that had locks reclaim them as locked
      • master does not realize it needs to reclaim the lock and continues under the assumption it has the lock.
      • After 30 sec grace period, slave comes in and asks for the lock and it receives it.

      Attachments

        1. AMQ-4705-GMURTHY-PATCH.TXT
          3 kB
          Ganesh Murthy
        2. KahaDBDeleteLockTest.java
          2 kB
          Ganesh Murthy

        Issue Links

          Activity

            People

              gtully Gary Tully
              gtully Gary Tully
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: