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

add support for flock-based shared lock file (patch included)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Abandoned
    • 5.8.0
    • None
    • Broker
    • None
    • Patch Available

    Description

      This issue provides a patch to add support for using native flock (2) based lock files. As discussed in AMQ-4378, using the Shared File System Master/Slave configuration on an OCFS2 filesystem is complicated by Java's use of POSIX locks. See the attached README for motivation and description of the approach.

      With this patch, a user can configure KahaDB to use a shared native lock file (using flock) as follows:

      <persistenceAdapter>
        <kahaDB ...>
          <locker>
             <shared-native-file-locker/>
          </locker>
        </kahaDB>
      </persistenceAdapter>
      

      Attachments

        1. patch.txt
          26 kB
          Carl Harris
        2. README.patch.txt
          9 kB
          Carl Harris

        Activity

          People

            Unassigned Unassigned
            ceharris Carl Harris
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: