[infinispan-issues] [JBoss JIRA] (ISPN-4716) Race condition in index initialization prevents nodes to start successfully on empty indexes
RH Bugzilla Integration (JIRA)
issues at jboss.org
Wed Sep 10 13:34:19 EDT 2014
[ https://issues.jboss.org/browse/ISPN-4716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13000986#comment-13000986 ]
RH Bugzilla Integration commented on ISPN-4716:
-----------------------------------------------
Dave Stahl <dstahl at redhat.com> changed the Status of [bug 1140335|https://bugzilla.redhat.com/show_bug.cgi?id=1140335] from ASSIGNED to POST
> Race condition in index initialization prevents nodes to start successfully on empty indexes
> --------------------------------------------------------------------------------------------
>
> Key: ISPN-4716
> URL: https://issues.jboss.org/browse/ISPN-4716
> Project: Infinispan
> Issue Type: Bug
> Components: Embedded Querying
> Reporter: Sanne Grinovero
> Assignee: Sanne Grinovero
> Fix For: 7.0.0.Beta2
>
>
> The following stack is possible because a different engine could be initializing the same index after the check for a valid index to exist:
> {noformat}Caused by: org.hibernate.search.exception.SearchException: Could not initialize index
> at org.hibernate.search.store.impl.DirectoryProviderHelper.initializeIndexIfNeeded(DirectoryProviderHelper.java:146)
> at org.hibernate.search.infinispan.impl.InfinispanDirectoryProvider.start(InfinispanDirectoryProvider.java:73)
> at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:90)
> at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:256)
> ... 49 more
> Caused by: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: org.infinispan.lucene.locking.BaseLuceneLock at 1329a963
> at org.apache.lucene.store.Lock.obtain(Lock.java:89)
> at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:710)
> at org.hibernate.search.store.impl.DirectoryProviderHelper.initializeIndexIfNeeded(DirectoryProviderHelper.java:141){noformat}
> Fixed by https://hibernate.atlassian.net/browse/HSEARCH-1665, Infinispan needs to upgrade.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the infinispan-issues
mailing list