[
https://issues.apache.org/jira/browse/AMQ-4694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carl Harris updated AMQ-4694:
-----------------------------
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>
was:
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.
> add support for flock-based shared lock file (patch included)
> -------------------------------------------------------------
>
> Key: AMQ-4694
> URL: https://issues.apache.org/jira/browse/AMQ-4694
> Project: ActiveMQ
> Issue Type: Improvement
> Components: Broker
> Affects Versions: 5.8.0
> Reporter: Carl Harris
> Attachments: patch.txt, README.patch.txt
>
>
> 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>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira