[ 
https://issues.apache.org/jira/browse/GEODE-5055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16567739#comment-16567739
 ] 

ASF subversion and git services commented on GEODE-5055:
--------------------------------------------------------

Commit 06124e0c4191a90fa384a1368fc59a7d8dfdc0c8 in geode's branch 
refs/heads/develop from [~nabarunnag]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=06124e0 ]

GEODE-5055: Handle index in progress for old clients (#1961)

* If the Lucene query function is executed by an old client (< 1.6.0) on a new 
server, it will wait for the index to be created.
            * Server wont return a LuceneIndexCreationInProgressException back 
to the old client resulting in a ClassNotFoundException.
            * LuceneIndexCreationInProgressException is wrapped in a 
FunctionException and sent to the caller function
            * The caller unwraps and send the LuceneQueryException back to the 
user.

> CI failure: 
> LuceneSearchWithRollingUpgradeDUnit.luceneQueryReturnsCorrectResultsAfterServersRollOverOnPartitionRegion
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-5055
>                 URL: https://issues.apache.org/jira/browse/GEODE-5055
>             Project: Geode
>          Issue Type: Sub-task
>          Components: lucene
>            Reporter: Jason Huynh
>            Assignee: nabarun
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> This is related to changes for GEODE-3926.  The roll is occuring but because 
> we added the new complete file, the new server is probably "reindexing" at 
> the moment. 
> org.apache.geode.cache.lucene.LuceneSearchWithRollingUpgradeDUnit > 
> luceneQueryReturnsCorrectResultsAfterServersRollOverOnPartitionRegion[from_v140]
>  FAILED
>  org.apache.geode.test.dunit.RMIException: While invoking 
> org.apache.geode.cache.lucene.LuceneSearchWithRollingUpgradeDUnit$$Lambda$27/1996438298.run
>  in VM 0 running on Host eada542bc38a with 4 VMs
>  at org.apache.geode.test.dunit.VM.invoke(VM.java:436)
>  at org.apache.geode.test.dunit.VM.invoke(VM.java:405)
>  at org.apache.geode.test.dunit.VM.invoke(VM.java:348)
>  at 
> org.apache.geode.cache.lucene.LuceneSearchWithRollingUpgradeDUnit.verifyLuceneQueryResultInEachVM(LuceneSearchWithRollingUpgradeDUnit.java:678)
>  at 
> org.apache.geode.cache.lucene.LuceneSearchWithRollingUpgradeDUnit.executeLuceneQueryWithServerRollOvers(LuceneSearchWithRollingUpgradeDUnit.java:572)
>  at 
> org.apache.geode.cache.lucene.LuceneSearchWithRollingUpgradeDUnit.luceneQueryReturnsCorrectResultsAfterServersRollOverOnPartitionRegion(LuceneSearchWithRollingUpgradeDUnit.java:134)
> Caused by:
>  java.lang.reflect.InvocationTargetException
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
>  at 
> org.apache.geode.cache.lucene.LuceneSearchWithRollingUpgradeDUnit.verifyLuceneQueryResults(LuceneSearchWithRollingUpgradeDUnit.java:661)
>  at 
> org.apache.geode.cache.lucene.LuceneSearchWithRollingUpgradeDUnit.lambda$verifyLuceneQueryResultInEachVM$b83f705c$2(LuceneSearchWithRollingUpgradeDUnit.java:678)
> Caused by:
>  
> org.apache.geode.cache.lucene.internal.LuceneIndexCreationInProgressException:
>  Lucene Index creation in progress for bucket: 1



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to