geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shelley Lynn Hughes-Godfrey (JIRA)" <>
Subject [jira] [Created] (GEODE-4089) Lucene create index can fail due to comparison of indexedFields as an array (if order of indexes is different)
Date Wed, 13 Dec 2017 00:30:00 GMT
Shelley Lynn Hughes-Godfrey created GEODE-4089:

             Summary: Lucene create index can fail due to comparison of indexedFields as an
array (if order of indexes is different)
                 Key: GEODE-4089
             Project: Geode
          Issue Type: Bug
          Components: lucene
            Reporter: Shelley Lynn Hughes-Godfrey

This issue was fixed in geode 1.4 (GEODE-3953: Incorrect use of .equals() for comparison of
fieldname arrays), but given that this issue exists in earlier versions, re-initialization
of members creating lucene indexes can fail when upgrading from 1.2 and 1.3 to 1.4 when there
is a mix of old and new version members in the Distributed System.

Cannot create Lucene index index on region /region with fields [field2, field1] because another
member defines the same index with fields [field1, field2].
    at org.junit.Assert.failNotEquals(
    at org.junit.Assert.assertEquals(
    at org.junit.Assert.assertEquals(
    at org.apache.geode.cache.lucene.internal.LuceneIndexCreationProfileJUnitTest.testCheckCompatibility(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(
    at junitparams.internal.InvokeParameterisedMethod.evaluate(
    at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(
    at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(
    at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(
    at junitparams.JUnitParamsRunner.runChild(
    at junitparams.JUnitParamsRunner.runChild(
    at org.junit.runners.ParentRunner$
    at org.junit.runners.ParentRunner$1.schedule(
    at org.junit.runners.ParentRunner.runChildren(
    at org.junit.runners.ParentRunner.access$000(
    at org.junit.runners.ParentRunner$2.evaluate(
    at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(
    at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(
    at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(
    at com.intellij.rt.execution.junit.JUnitStarter.main(

This message was sent by Atlassian JIRA

View raw message