[
https://issues.apache.org/jira/browse/GEODE-3025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16045048#comment-16045048
]
ASF subversion and git services commented on GEODE-3025:
--------------------------------------------------------
Commit 5853cc2fb816dda7874277101abda22c79caeb9a in geode's branch
refs/heads/release/1.2.0 from [~nnag]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=5853cc2 ]
GEODE-3025: Lucene queries are not allowed withing a transaction.
This closes #562
> CI failure:
> org.apache.geode.cache.lucene.LuceneQueriesClientDUnitTest.transactionWithLuceneQueriesShouldThrowException
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: GEODE-3025
> URL: https://issues.apache.org/jira/browse/GEODE-3025
> Project: Geode
> Issue Type: Bug
> Components: lucene
> Reporter: Jason Huynh
>
> The issue is that the client can sometimes execute in a transaction if single
> hop is enabled but not if single hop is disabled.
> org.apache.geode.cache.lucene.LuceneQueriesClientDUnitTest >
> transactionWithLuceneQueriesShouldThrowException(PARTITION_WITH_CLIENT) [0]
> FAILED
> org.apache.geode.test.dunit.RMIException: While invoking
> org.apache.geode.cache.lucene.LuceneQueriesClientDUnitTest$$Lambda$57/2004630790.run
> in VM 3 running on Host priapus.apache.org with 4 VMs
> at org.apache.geode.test.dunit.VM.invoke(VM.java:377)
> at org.apache.geode.test.dunit.VM.invoke(VM.java:347)
> at org.apache.geode.test.dunit.VM.invoke(VM.java:292)
> at
> org.apache.geode.cache.lucene.LuceneQueriesClientDUnitTest.transactionWithLuceneQueriesShouldThrowException(LuceneQueriesClientDUnitTest.java:88)
> Caused by:
> org.apache.geode.cache.lucene.LuceneQueryException: Lucene Query
> cannot be executed within a transaction
> at
> org.apache.geode.cache.lucene.internal.LuceneQueryImpl.findTopEntries(LuceneQueryImpl.java:124)
> at
> org.apache.geode.cache.lucene.internal.LuceneQueryImpl.findPages(LuceneQueryImpl.java:98)
> at
> org.apache.geode.cache.lucene.internal.LuceneQueryImpl.findPages(LuceneQueryImpl.java:94)
> at
> org.apache.geode.cache.lucene.LuceneQueriesClientDUnitTest.lambda$transactionWithLuceneQueriesShouldThrowException$30c11d8e$1(LuceneQueriesClientDUnitTest.java:96)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)