You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Anthony Baker (JIRA)" <ji...@apache.org> on 2017/06/17 18:04:18 UTC

[jira] [Closed] (GEODE-2703) Improve error message that Lucene queries are not supported in the context of a transaction

     [ https://issues.apache.org/jira/browse/GEODE-2703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anthony Baker closed GEODE-2703.
--------------------------------

> Improve error message that Lucene queries are not supported in the context of a transaction
> -------------------------------------------------------------------------------------------
>
>                 Key: GEODE-2703
>                 URL: https://issues.apache.org/jira/browse/GEODE-2703
>             Project: Geode
>          Issue Type: Bug
>          Components: lucene
>            Reporter: Diane Hardman
>            Assignee: Jason Huynh
>             Fix For: 1.2.0
>
>
> We currently do not support Lucene queries in the context of a transaction. The exception thrown, however, may be confusing to the user.
> ERROR org.apache.geode.cache.TransactionException: Function inside a transaction cannot execute on more than one node
> org.apache.geode.cache.TransactionException: Function inside a transaction cannot execute on more than one node
> at org.apache.geode.internal.cache.execute.PartitionedRegionFunctionExecutor.validateExecution(PartitionedRegionFunctionExecutor.java:344)
> at org.apache.geode.internal.cache.PartitionedRegion.executeOnAllBuckets(PartitionedRegion.java:3840)
> at org.apache.geode.internal.cache.PartitionedRegion.executeFunction(PartitionedRegion.java:3353)
> at org.apache.geode.internal.cache.execute.PartitionedRegionFunctionExecutor.executeFunction(PartitionedRegionFunctionExecutor.java:228)
> at org.apache.geode.internal.cache.execute.AbstractExecution.execute(AbstractExecution.java:376)
> at org.apache.geode.cache.lucene.internal.LuceneQueryImpl.findTopEntries(LuceneQueryImpl.java:115)
> at org.apache.geode.cache.lucene.internal.LuceneQueryImpl.findPages(LuceneQueryImpl.java:95)
> at org.apache.geode.cache.lucene.internal.LuceneQueryImpl.findResults(LuceneQueryImpl.java:81)
> at lucene.LuceneTest.executeLuceneQuery(LuceneTest.java:154)
> at parReg.ParRegTest.doEntryOperations(ParRegTest.java:2929)
> at parReg.ParRegTest.doRROpsAndVerify(ParRegTest.java:1709)
> at parReg.ParRegTest.HydraTask_doRROpsAndVerify(ParRegTest.java:958)
> 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 hydra.MethExecutor.execute(MethExecutor.java:182)
> at hydra.MethExecutor.execute(MethExecutor.java:150)
> at hydra.TestTask.execute(TestTask.java:192)
> at hydra.RemoteTestModule$1.run(RemoteTestModule.java:212)
> ```



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)