The locking_strategy property is ignored when using the Infinispan Directory

Description

The InfinispanDirectoryProvider ignores the configuration property used to configure and alternative org.apache.lucene.store.LockFactory.

This generally makes sense as most such implementations require a shared filesystem, but we still need to expose the property to allow users for example to set the org.apache.lucene.store.NoLockFactory strategy.
This is for example convenient when there is an external controller to guarantee the exclusivity of writers: if we were not to disable locking, such an external controller would need to clear the locks manually when it needs to start a failover to a different master.

Environment

None

Status

Assignee

Sanne Grinovero

Reporter

Sanne Grinovero

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Fix versions

Affects versions

Priority

Critical
Configure