MassIndexer causes a LockObtainFailedException to be thrown when using Infinispan as a directory provider

Description

When using MassIndexer and FSDirectory all is okay. When using InfinispanDirectory LockObtainFailedException is thrown.

A test case is attached (MassIndexerTest).

Note that for this test a slightly modified copy of InfinispanDirectoryProvider was needed, as the Infinispan cache instance we use in production is declared in Spring.

Environment

Hibernate Core 3.6.5/Hibernate Search 3.4.0/Infinispan 5.0/Spring 3.0.5

Status

Assignee

Unassigned

Reporter

TomT

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Affects versions

Priority

Major
Configure