[JBoss JIRA] (ISPN-11305) Broadcasted queries with projections fail for LAZY iterator
by Gustavo Fernandes (Jira)
[ https://issues.redhat.com/browse/ISPN-11305?page=com.atlassian.jira.plugi... ]
Gustavo Fernandes updated ISPN-11305:
-------------------------------------
Affects Version/s: 10.1.2.Final
> Broadcasted queries with projections fail for LAZY iterator
> -----------------------------------------------------------
>
> Key: ISPN-11305
> URL: https://issues.redhat.com/browse/ISPN-11305
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 10.1.2.Final, 11.0.0.Alpha1
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
>
> {noformat}
> org.hibernate.search.exception.SearchException: Exception while searching locally
> at org.infinispan.query.clustered.ClusteredQueryInvoker.unicast(ClusteredQueryInvoker.java:71)
> at org.infinispan.query.clustered.DistributedLazyIterator.fetchValue(DistributedLazyIterator.java:47)
> at org.infinispan.query.clustered.DistributedIterator.next(DistributedIterator.java:88)
> at org.infinispan.query.nulls.NullCollectionElementsClusteredTest.lambda$testQueryReturnsNullWhenProjectingCacheValue$5(NullCollectionElementsClusteredTest.java:155)
> at org.infinispan.test.TestingUtil.lambda$withTxCallable$13(TestingUtil.java:1492)
> at org.infinispan.test.TestingUtil.withTx(TestingUtil.java:1475)
> at org.infinispan.query.nulls.NullCollectionElementsClusteredTest.testQueryReturnsNullWhenProjectingCacheValue(NullCollectionElementsClusteredTest.java:145)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
> at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:230)
> at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
> at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:242)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:579)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
> at org.testng.TestRunner.privateRun(TestRunner.java:648)
> at org.testng.TestRunner.run(TestRunner.java:505)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:40)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:489)
> at org.testng.internal.thread.ThreadUtil$1.call(ThreadUtil.java:52)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.base/java.lang.Thread.run(Thread.java:834)
> Caused by: java.util.concurrent.ExecutionException: org.hibernate.search.exception.SearchException: org.hibernate.search.exception.SearchException: HSEARCH000338: Incomplete entity information in a document retrieved from the index: the entity type ('org.infinispan.query.nulls.NullCollectionElementsClusteredTest$Foo') or identifier ('null') was missing.
> at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
> at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
> at org.infinispan.query.clustered.ClusteredQueryInvoker.unicast(ClusteredQueryInvoker.java:67)
> ... 29 more
> Caused by: org.hibernate.search.exception.SearchException: org.hibernate.search.exception.SearchException: HSEARCH000338: Incomplete entity information in a document retrieved from the index: the entity type ('org.infinispan.query.nulls.NullCollectionElementsClusteredTest$Foo') or identifier ('null') was missing.
> at org.infinispan.query.clustered.ClusteredQueryInvoker.lambda$localInvoke$4(ClusteredQueryInvoker.java:120)
> ... 4 more
> Caused by: org.hibernate.search.exception.SearchException: HSEARCH000338: Incomplete entity information in a document retrieved from the index: the entity type ('org.infinispan.query.nulls.NullCollectionElementsClusteredTest$Foo') or identifier ('null') was missing.
> at org.hibernate.search.query.engine.impl.EntityInfoImpl.getId(EntityInfoImpl.java:74)
> at org.infinispan.query.clustered.commandworkers.CQWorker.extractKey(CQWorker.java:88)
> at org.infinispan.query.clustered.commandworkers.CQLazyFetcher.perform(CQLazyFetcher.java:19)
> at org.infinispan.query.clustered.commandworkers.CQCommandType.perform(CQCommandType.java:43)
> at org.infinispan.query.clustered.ClusteredQueryOperation.perform(ClusteredQueryOperation.java:74)
> at org.infinispan.query.clustered.SegmentsClusteredQueryCommand.perform(SegmentsClusteredQueryCommand.java:45)
> at org.infinispan.query.clustered.ClusteredQueryInvoker.lambda$localInvoke$4(ClusteredQueryInvoker.java:118)
> ... 4 more
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (ISPN-11305) Broadcasted queries with projections fail for LAZY iterator
by Gustavo Fernandes (Jira)
[ https://issues.redhat.com/browse/ISPN-11305?page=com.atlassian.jira.plugi... ]
Gustavo Fernandes updated ISPN-11305:
-------------------------------------
Affects Version/s: 11.0.0.Alpha1
> Broadcasted queries with projections fail for LAZY iterator
> -----------------------------------------------------------
>
> Key: ISPN-11305
> URL: https://issues.redhat.com/browse/ISPN-11305
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 10.1.2.Final, 11.0.0.Alpha1
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
>
> {noformat}
> org.hibernate.search.exception.SearchException: Exception while searching locally
> at org.infinispan.query.clustered.ClusteredQueryInvoker.unicast(ClusteredQueryInvoker.java:71)
> at org.infinispan.query.clustered.DistributedLazyIterator.fetchValue(DistributedLazyIterator.java:47)
> at org.infinispan.query.clustered.DistributedIterator.next(DistributedIterator.java:88)
> at org.infinispan.query.nulls.NullCollectionElementsClusteredTest.lambda$testQueryReturnsNullWhenProjectingCacheValue$5(NullCollectionElementsClusteredTest.java:155)
> at org.infinispan.test.TestingUtil.lambda$withTxCallable$13(TestingUtil.java:1492)
> at org.infinispan.test.TestingUtil.withTx(TestingUtil.java:1475)
> at org.infinispan.query.nulls.NullCollectionElementsClusteredTest.testQueryReturnsNullWhenProjectingCacheValue(NullCollectionElementsClusteredTest.java:145)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
> at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:230)
> at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
> at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:242)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:579)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
> at org.testng.TestRunner.privateRun(TestRunner.java:648)
> at org.testng.TestRunner.run(TestRunner.java:505)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:40)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:489)
> at org.testng.internal.thread.ThreadUtil$1.call(ThreadUtil.java:52)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.base/java.lang.Thread.run(Thread.java:834)
> Caused by: java.util.concurrent.ExecutionException: org.hibernate.search.exception.SearchException: org.hibernate.search.exception.SearchException: HSEARCH000338: Incomplete entity information in a document retrieved from the index: the entity type ('org.infinispan.query.nulls.NullCollectionElementsClusteredTest$Foo') or identifier ('null') was missing.
> at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
> at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
> at org.infinispan.query.clustered.ClusteredQueryInvoker.unicast(ClusteredQueryInvoker.java:67)
> ... 29 more
> Caused by: org.hibernate.search.exception.SearchException: org.hibernate.search.exception.SearchException: HSEARCH000338: Incomplete entity information in a document retrieved from the index: the entity type ('org.infinispan.query.nulls.NullCollectionElementsClusteredTest$Foo') or identifier ('null') was missing.
> at org.infinispan.query.clustered.ClusteredQueryInvoker.lambda$localInvoke$4(ClusteredQueryInvoker.java:120)
> ... 4 more
> Caused by: org.hibernate.search.exception.SearchException: HSEARCH000338: Incomplete entity information in a document retrieved from the index: the entity type ('org.infinispan.query.nulls.NullCollectionElementsClusteredTest$Foo') or identifier ('null') was missing.
> at org.hibernate.search.query.engine.impl.EntityInfoImpl.getId(EntityInfoImpl.java:74)
> at org.infinispan.query.clustered.commandworkers.CQWorker.extractKey(CQWorker.java:88)
> at org.infinispan.query.clustered.commandworkers.CQLazyFetcher.perform(CQLazyFetcher.java:19)
> at org.infinispan.query.clustered.commandworkers.CQCommandType.perform(CQCommandType.java:43)
> at org.infinispan.query.clustered.ClusteredQueryOperation.perform(ClusteredQueryOperation.java:74)
> at org.infinispan.query.clustered.SegmentsClusteredQueryCommand.perform(SegmentsClusteredQueryCommand.java:45)
> at org.infinispan.query.clustered.ClusteredQueryInvoker.lambda$localInvoke$4(ClusteredQueryInvoker.java:118)
> ... 4 more
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (ISPN-11305) Broadcasted queries with projections fail for LAZY iterator
by Gustavo Fernandes (Jira)
[ https://issues.redhat.com/browse/ISPN-11305?page=com.atlassian.jira.plugi... ]
Gustavo Fernandes updated ISPN-11305:
-------------------------------------
Steps to Reproduce:
{code:java}
String q = String.format("SELECT bar FROM foo where bar:'1'");
CacheQuery<Object[]> cacheQuery = searchManager.getQuery(q, IndexedQueryMode.BROADCAST);
ResultIterator<Object[]> iterator = cacheQuery.iterator(new FetchOptions().fetchMode(LAZY));
iterator.next();
{code}
> Broadcasted queries with projections fail for LAZY iterator
> -----------------------------------------------------------
>
> Key: ISPN-11305
> URL: https://issues.redhat.com/browse/ISPN-11305
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 10.1.2.Final, 11.0.0.Alpha1
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
>
> {noformat}
> org.hibernate.search.exception.SearchException: Exception while searching locally
> at org.infinispan.query.clustered.ClusteredQueryInvoker.unicast(ClusteredQueryInvoker.java:71)
> at org.infinispan.query.clustered.DistributedLazyIterator.fetchValue(DistributedLazyIterator.java:47)
> at org.infinispan.query.clustered.DistributedIterator.next(DistributedIterator.java:88)
> at org.infinispan.query.nulls.NullCollectionElementsClusteredTest.lambda$testQueryReturnsNullWhenProjectingCacheValue$5(NullCollectionElementsClusteredTest.java:155)
> at org.infinispan.test.TestingUtil.lambda$withTxCallable$13(TestingUtil.java:1492)
> at org.infinispan.test.TestingUtil.withTx(TestingUtil.java:1475)
> at org.infinispan.query.nulls.NullCollectionElementsClusteredTest.testQueryReturnsNullWhenProjectingCacheValue(NullCollectionElementsClusteredTest.java:145)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
> at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:230)
> at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
> at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:242)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:579)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
> at org.testng.TestRunner.privateRun(TestRunner.java:648)
> at org.testng.TestRunner.run(TestRunner.java:505)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:40)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:489)
> at org.testng.internal.thread.ThreadUtil$1.call(ThreadUtil.java:52)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.base/java.lang.Thread.run(Thread.java:834)
> Caused by: java.util.concurrent.ExecutionException: org.hibernate.search.exception.SearchException: org.hibernate.search.exception.SearchException: HSEARCH000338: Incomplete entity information in a document retrieved from the index: the entity type ('org.infinispan.query.nulls.NullCollectionElementsClusteredTest$Foo') or identifier ('null') was missing.
> at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
> at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
> at org.infinispan.query.clustered.ClusteredQueryInvoker.unicast(ClusteredQueryInvoker.java:67)
> ... 29 more
> Caused by: org.hibernate.search.exception.SearchException: org.hibernate.search.exception.SearchException: HSEARCH000338: Incomplete entity information in a document retrieved from the index: the entity type ('org.infinispan.query.nulls.NullCollectionElementsClusteredTest$Foo') or identifier ('null') was missing.
> at org.infinispan.query.clustered.ClusteredQueryInvoker.lambda$localInvoke$4(ClusteredQueryInvoker.java:120)
> ... 4 more
> Caused by: org.hibernate.search.exception.SearchException: HSEARCH000338: Incomplete entity information in a document retrieved from the index: the entity type ('org.infinispan.query.nulls.NullCollectionElementsClusteredTest$Foo') or identifier ('null') was missing.
> at org.hibernate.search.query.engine.impl.EntityInfoImpl.getId(EntityInfoImpl.java:74)
> at org.infinispan.query.clustered.commandworkers.CQWorker.extractKey(CQWorker.java:88)
> at org.infinispan.query.clustered.commandworkers.CQLazyFetcher.perform(CQLazyFetcher.java:19)
> at org.infinispan.query.clustered.commandworkers.CQCommandType.perform(CQCommandType.java:43)
> at org.infinispan.query.clustered.ClusteredQueryOperation.perform(ClusteredQueryOperation.java:74)
> at org.infinispan.query.clustered.SegmentsClusteredQueryCommand.perform(SegmentsClusteredQueryCommand.java:45)
> at org.infinispan.query.clustered.ClusteredQueryInvoker.lambda$localInvoke$4(ClusteredQueryInvoker.java:118)
> ... 4 more
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (ISPN-11004) SQL server exception purging data
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11004?page=com.atlassian.jira.plugi... ]
Ryan Emerson updated ISPN-11004:
--------------------------------
Sprint: DataGrid Sprint #40
> SQL server exception purging data
> ---------------------------------
>
> Key: ISPN-11004
> URL: https://issues.redhat.com/browse/ISPN-11004
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 10.0.1.Final, 10.1.2.Final
> Reporter: Megan van de Valk
> Assignee: Ryan Emerson
> Priority: Major
>
> When using string keyed jdbc store with dialect="SQL_SERVER" a SQL exception of 'FOR UPDATE clause allowed only for DECLARE CURSOR' is thrown.
> {code:java}
> 14:57:39,444 WARN [org.infinispan.PERSISTENCE] (expiration-thread--p7-t1) ISPN000026: Caught exception purging data container!: org.infinispan.persistence.spi.PersistenceException: Failed clearing string based JDBC store
> at org.infinispan.persistence.jdbc.stringbased.JdbcStringBasedStore.purge(JdbcStringBasedStore.java:502)
> at org.infinispan.persistence.spi.SegmentedAdvancedLoadWriteStore.purge(SegmentedAdvancedLoadWriteStore.java:291)
> at org.infinispan.persistence.manager.PersistenceManagerImpl.lambda$purgeExpired$8(PersistenceManagerImpl.java:522)
> at java.util.ArrayList.forEach(ArrayList.java:1257)
> at org.infinispan.persistence.manager.PersistenceManagerImpl.purgeExpired(PersistenceManagerImpl.java:528)
> at org.infinispan.persistence.support.DelegatingPersistenceManager.purgeExpired(DelegatingPersistenceManager.java:90)
> at org.infinispan.expiration.impl.ExpirationManagerImpl.processExpiration(ExpirationManagerImpl.java:120)
> at org.infinispan.expiration.impl.ExpirationManagerImpl$ScheduledTask.run(ExpirationManagerImpl.java:282)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Line 1: FOR UPDATE clause allowed only for DECLARE CURSOR.
> at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:216)
> at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1515)
> at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:404)
> at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:350)
> at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:5696)
> at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1715)
> at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:180)
> at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:155)
> at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQuery(SQLServerPreparedStatement.java:285)
> at org.infinispan.persistence.jdbc.stringbased.JdbcStringBasedStore.purge(JdbcStringBasedStore.java:467)
> ... 14 more
> {code}
> The method initSelectOnlyExpiredRowsSql in [AbstractTableManager|https://github.com/infinispan/infinispan/blob/master...] includes a FOR UPDATE:
> {code:java}
> return String.format("%1$s WHERE %2$s < ? AND %2$s > 0 FOR UPDATE", getLoadAllRowsSql(), config.timestampColumnName());
> {code}
> It should probably be overwritten in [SQLServerTableManger|https://github.com/infinispan/infinispan/blob/master...] with
> {code:java}
> return String.format("%1$s WITH(UPDLOCK) WHERE %2$s < ? AND %2$s > 0", getLoadAllRowsSql(), config.timestampColumnName());
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (ISPN-11004) SQL server exception purging data
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11004?page=com.atlassian.jira.plugi... ]
Ryan Emerson updated ISPN-11004:
--------------------------------
Affects Version/s: 10.1.2.Final
> SQL server exception purging data
> ---------------------------------
>
> Key: ISPN-11004
> URL: https://issues.redhat.com/browse/ISPN-11004
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 10.0.1.Final, 10.1.2.Final
> Reporter: Megan van de Valk
> Assignee: Ryan Emerson
> Priority: Major
>
> When using string keyed jdbc store with dialect="SQL_SERVER" a SQL exception of 'FOR UPDATE clause allowed only for DECLARE CURSOR' is thrown.
> {code:java}
> 14:57:39,444 WARN [org.infinispan.PERSISTENCE] (expiration-thread--p7-t1) ISPN000026: Caught exception purging data container!: org.infinispan.persistence.spi.PersistenceException: Failed clearing string based JDBC store
> at org.infinispan.persistence.jdbc.stringbased.JdbcStringBasedStore.purge(JdbcStringBasedStore.java:502)
> at org.infinispan.persistence.spi.SegmentedAdvancedLoadWriteStore.purge(SegmentedAdvancedLoadWriteStore.java:291)
> at org.infinispan.persistence.manager.PersistenceManagerImpl.lambda$purgeExpired$8(PersistenceManagerImpl.java:522)
> at java.util.ArrayList.forEach(ArrayList.java:1257)
> at org.infinispan.persistence.manager.PersistenceManagerImpl.purgeExpired(PersistenceManagerImpl.java:528)
> at org.infinispan.persistence.support.DelegatingPersistenceManager.purgeExpired(DelegatingPersistenceManager.java:90)
> at org.infinispan.expiration.impl.ExpirationManagerImpl.processExpiration(ExpirationManagerImpl.java:120)
> at org.infinispan.expiration.impl.ExpirationManagerImpl$ScheduledTask.run(ExpirationManagerImpl.java:282)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Line 1: FOR UPDATE clause allowed only for DECLARE CURSOR.
> at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:216)
> at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1515)
> at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:404)
> at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:350)
> at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:5696)
> at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1715)
> at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:180)
> at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:155)
> at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQuery(SQLServerPreparedStatement.java:285)
> at org.infinispan.persistence.jdbc.stringbased.JdbcStringBasedStore.purge(JdbcStringBasedStore.java:467)
> ... 14 more
> {code}
> The method initSelectOnlyExpiredRowsSql in [AbstractTableManager|https://github.com/infinispan/infinispan/blob/master...] includes a FOR UPDATE:
> {code:java}
> return String.format("%1$s WHERE %2$s < ? AND %2$s > 0 FOR UPDATE", getLoadAllRowsSql(), config.timestampColumnName());
> {code}
> It should probably be overwritten in [SQLServerTableManger|https://github.com/infinispan/infinispan/blob/master...] with
> {code:java}
> return String.format("%1$s WITH(UPDLOCK) WHERE %2$s < ? AND %2$s > 0", getLoadAllRowsSql(), config.timestampColumnName());
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (ISPN-11305) Broadcasted queries with projections fail for LAZY iterator
by Gustavo Fernandes (Jira)
[ https://issues.redhat.com/browse/ISPN-11305?page=com.atlassian.jira.plugi... ]
Gustavo Fernandes updated ISPN-11305:
-------------------------------------
Summary: Broadcasted queries with projections fail for LAZY iterator (was: Broadcast queries with projections fail for LAZY iterator)
> Broadcasted queries with projections fail for LAZY iterator
> -----------------------------------------------------------
>
> Key: ISPN-11305
> URL: https://issues.redhat.com/browse/ISPN-11305
> Project: Infinispan
> Issue Type: Bug
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
>
> {noformat}
> org.hibernate.search.exception.SearchException: Exception while searching locally
> at org.infinispan.query.clustered.ClusteredQueryInvoker.unicast(ClusteredQueryInvoker.java:71)
> at org.infinispan.query.clustered.DistributedLazyIterator.fetchValue(DistributedLazyIterator.java:47)
> at org.infinispan.query.clustered.DistributedIterator.next(DistributedIterator.java:88)
> at org.infinispan.query.nulls.NullCollectionElementsClusteredTest.lambda$testQueryReturnsNullWhenProjectingCacheValue$5(NullCollectionElementsClusteredTest.java:155)
> at org.infinispan.test.TestingUtil.lambda$withTxCallable$13(TestingUtil.java:1492)
> at org.infinispan.test.TestingUtil.withTx(TestingUtil.java:1475)
> at org.infinispan.query.nulls.NullCollectionElementsClusteredTest.testQueryReturnsNullWhenProjectingCacheValue(NullCollectionElementsClusteredTest.java:145)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
> at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:230)
> at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
> at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:242)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:579)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
> at org.testng.TestRunner.privateRun(TestRunner.java:648)
> at org.testng.TestRunner.run(TestRunner.java:505)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:40)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:489)
> at org.testng.internal.thread.ThreadUtil$1.call(ThreadUtil.java:52)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.base/java.lang.Thread.run(Thread.java:834)
> Caused by: java.util.concurrent.ExecutionException: org.hibernate.search.exception.SearchException: org.hibernate.search.exception.SearchException: HSEARCH000338: Incomplete entity information in a document retrieved from the index: the entity type ('org.infinispan.query.nulls.NullCollectionElementsClusteredTest$Foo') or identifier ('null') was missing.
> at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
> at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
> at org.infinispan.query.clustered.ClusteredQueryInvoker.unicast(ClusteredQueryInvoker.java:67)
> ... 29 more
> Caused by: org.hibernate.search.exception.SearchException: org.hibernate.search.exception.SearchException: HSEARCH000338: Incomplete entity information in a document retrieved from the index: the entity type ('org.infinispan.query.nulls.NullCollectionElementsClusteredTest$Foo') or identifier ('null') was missing.
> at org.infinispan.query.clustered.ClusteredQueryInvoker.lambda$localInvoke$4(ClusteredQueryInvoker.java:120)
> ... 4 more
> Caused by: org.hibernate.search.exception.SearchException: HSEARCH000338: Incomplete entity information in a document retrieved from the index: the entity type ('org.infinispan.query.nulls.NullCollectionElementsClusteredTest$Foo') or identifier ('null') was missing.
> at org.hibernate.search.query.engine.impl.EntityInfoImpl.getId(EntityInfoImpl.java:74)
> at org.infinispan.query.clustered.commandworkers.CQWorker.extractKey(CQWorker.java:88)
> at org.infinispan.query.clustered.commandworkers.CQLazyFetcher.perform(CQLazyFetcher.java:19)
> at org.infinispan.query.clustered.commandworkers.CQCommandType.perform(CQCommandType.java:43)
> at org.infinispan.query.clustered.ClusteredQueryOperation.perform(ClusteredQueryOperation.java:74)
> at org.infinispan.query.clustered.SegmentsClusteredQueryCommand.perform(SegmentsClusteredQueryCommand.java:45)
> at org.infinispan.query.clustered.ClusteredQueryInvoker.lambda$localInvoke$4(ClusteredQueryInvoker.java:118)
> ... 4 more
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (ISPN-11305) Broadcast queries with projections fail for LAZY iterator
by Gustavo Fernandes (Jira)
[ https://issues.redhat.com/browse/ISPN-11305?page=com.atlassian.jira.plugi... ]
Gustavo Fernandes updated ISPN-11305:
-------------------------------------
Description:
{noformat}
org.hibernate.search.exception.SearchException: Exception while searching locally
at org.infinispan.query.clustered.ClusteredQueryInvoker.unicast(ClusteredQueryInvoker.java:71)
at org.infinispan.query.clustered.DistributedLazyIterator.fetchValue(DistributedLazyIterator.java:47)
at org.infinispan.query.clustered.DistributedIterator.next(DistributedIterator.java:88)
at org.infinispan.query.nulls.NullCollectionElementsClusteredTest.lambda$testQueryReturnsNullWhenProjectingCacheValue$5(NullCollectionElementsClusteredTest.java:155)
at org.infinispan.test.TestingUtil.lambda$withTxCallable$13(TestingUtil.java:1492)
at org.infinispan.test.TestingUtil.withTx(TestingUtil.java:1475)
at org.infinispan.query.nulls.NullCollectionElementsClusteredTest.testQueryReturnsNullWhenProjectingCacheValue(NullCollectionElementsClusteredTest.java:145)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:230)
at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:242)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:579)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
at org.testng.TestRunner.privateRun(TestRunner.java:648)
at org.testng.TestRunner.run(TestRunner.java:505)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:40)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:489)
at org.testng.internal.thread.ThreadUtil$1.call(ThreadUtil.java:52)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.util.concurrent.ExecutionException: org.hibernate.search.exception.SearchException: org.hibernate.search.exception.SearchException: HSEARCH000338: Incomplete entity information in a document retrieved from the index: the entity type ('org.infinispan.query.nulls.NullCollectionElementsClusteredTest$Foo') or identifier ('null') was missing.
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
at org.infinispan.query.clustered.ClusteredQueryInvoker.unicast(ClusteredQueryInvoker.java:67)
... 29 more
Caused by: org.hibernate.search.exception.SearchException: org.hibernate.search.exception.SearchException: HSEARCH000338: Incomplete entity information in a document retrieved from the index: the entity type ('org.infinispan.query.nulls.NullCollectionElementsClusteredTest$Foo') or identifier ('null') was missing.
at org.infinispan.query.clustered.ClusteredQueryInvoker.lambda$localInvoke$4(ClusteredQueryInvoker.java:120)
... 4 more
Caused by: org.hibernate.search.exception.SearchException: HSEARCH000338: Incomplete entity information in a document retrieved from the index: the entity type ('org.infinispan.query.nulls.NullCollectionElementsClusteredTest$Foo') or identifier ('null') was missing.
at org.hibernate.search.query.engine.impl.EntityInfoImpl.getId(EntityInfoImpl.java:74)
at org.infinispan.query.clustered.commandworkers.CQWorker.extractKey(CQWorker.java:88)
at org.infinispan.query.clustered.commandworkers.CQLazyFetcher.perform(CQLazyFetcher.java:19)
at org.infinispan.query.clustered.commandworkers.CQCommandType.perform(CQCommandType.java:43)
at org.infinispan.query.clustered.ClusteredQueryOperation.perform(ClusteredQueryOperation.java:74)
at org.infinispan.query.clustered.SegmentsClusteredQueryCommand.perform(SegmentsClusteredQueryCommand.java:45)
at org.infinispan.query.clustered.ClusteredQueryInvoker.lambda$localInvoke$4(ClusteredQueryInvoker.java:118)
... 4 more
{noformat}
was:
{noformat}
[ERROR] query.nulls.NullCollectionElementsClusteredTest(org.infinispan.query.nulls.NullCollectionElementsClusteredTest) Time elapsed: 0.001 s <<< FAILURE!
org.hibernate.search.exception.SearchException: Exception while searching locally
at org.infinispan.query.clustered.ClusteredQueryInvoker.unicast(ClusteredQueryInvoker.java:71)
at org.infinispan.query.clustered.DistributedLazyIterator.fetchValue(DistributedLazyIterator.java:47)
at org.infinispan.query.clustered.DistributedIterator.next(DistributedIterator.java:88)
at org.infinispan.query.nulls.NullCollectionElementsClusteredTest.lambda$testQueryReturnsNullWhenProjectingCacheValue$5(NullCollectionElementsClusteredTest.java:155)
at org.infinispan.test.TestingUtil.lambda$withTxCallable$13(TestingUtil.java:1492)
at org.infinispan.test.TestingUtil.withTx(TestingUtil.java:1475)
at org.infinispan.query.nulls.NullCollectionElementsClusteredTest.testQueryReturnsNullWhenProjectingCacheValue(NullCollectionElementsClusteredTest.java:145)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:230)
at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:242)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:579)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
at org.testng.TestRunner.privateRun(TestRunner.java:648)
at org.testng.TestRunner.run(TestRunner.java:505)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:40)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:489)
at org.testng.internal.thread.ThreadUtil$1.call(ThreadUtil.java:52)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.util.concurrent.ExecutionException: org.hibernate.search.exception.SearchException: org.hibernate.search.exception.SearchException: HSEARCH000338: Incomplete entity information in a document retrieved from the index: the entity type ('org.infinispan.query.nulls.NullCollectionElementsClusteredTest$Foo') or identifier ('null') was missing.
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
at org.infinispan.query.clustered.ClusteredQueryInvoker.unicast(ClusteredQueryInvoker.java:67)
... 29 more
Caused by: org.hibernate.search.exception.SearchException: org.hibernate.search.exception.SearchException: HSEARCH000338: Incomplete entity information in a document retrieved from the index: the entity type ('org.infinispan.query.nulls.NullCollectionElementsClusteredTest$Foo') or identifier ('null') was missing.
at org.infinispan.query.clustered.ClusteredQueryInvoker.lambda$localInvoke$4(ClusteredQueryInvoker.java:120)
... 4 more
Caused by: org.hibernate.search.exception.SearchException: HSEARCH000338: Incomplete entity information in a document retrieved from the index: the entity type ('org.infinispan.query.nulls.NullCollectionElementsClusteredTest$Foo') or identifier ('null') was missing.
at org.hibernate.search.query.engine.impl.EntityInfoImpl.getId(EntityInfoImpl.java:74)
at org.infinispan.query.clustered.commandworkers.CQWorker.extractKey(CQWorker.java:88)
at org.infinispan.query.clustered.commandworkers.CQLazyFetcher.perform(CQLazyFetcher.java:19)
at org.infinispan.query.clustered.commandworkers.CQCommandType.perform(CQCommandType.java:43)
at org.infinispan.query.clustered.ClusteredQueryOperation.perform(ClusteredQueryOperation.java:74)
at org.infinispan.query.clustered.SegmentsClusteredQueryCommand.perform(SegmentsClusteredQueryCommand.java:45)
at org.infinispan.query.clustered.ClusteredQueryInvoker.lambda$localInvoke$4(ClusteredQueryInvoker.java:118)
... 4 more
{noformat}
> Broadcast queries with projections fail for LAZY iterator
> ---------------------------------------------------------
>
> Key: ISPN-11305
> URL: https://issues.redhat.com/browse/ISPN-11305
> Project: Infinispan
> Issue Type: Bug
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
>
> {noformat}
> org.hibernate.search.exception.SearchException: Exception while searching locally
> at org.infinispan.query.clustered.ClusteredQueryInvoker.unicast(ClusteredQueryInvoker.java:71)
> at org.infinispan.query.clustered.DistributedLazyIterator.fetchValue(DistributedLazyIterator.java:47)
> at org.infinispan.query.clustered.DistributedIterator.next(DistributedIterator.java:88)
> at org.infinispan.query.nulls.NullCollectionElementsClusteredTest.lambda$testQueryReturnsNullWhenProjectingCacheValue$5(NullCollectionElementsClusteredTest.java:155)
> at org.infinispan.test.TestingUtil.lambda$withTxCallable$13(TestingUtil.java:1492)
> at org.infinispan.test.TestingUtil.withTx(TestingUtil.java:1475)
> at org.infinispan.query.nulls.NullCollectionElementsClusteredTest.testQueryReturnsNullWhenProjectingCacheValue(NullCollectionElementsClusteredTest.java:145)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
> at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:230)
> at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
> at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:242)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:579)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
> at org.testng.TestRunner.privateRun(TestRunner.java:648)
> at org.testng.TestRunner.run(TestRunner.java:505)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:40)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:489)
> at org.testng.internal.thread.ThreadUtil$1.call(ThreadUtil.java:52)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.base/java.lang.Thread.run(Thread.java:834)
> Caused by: java.util.concurrent.ExecutionException: org.hibernate.search.exception.SearchException: org.hibernate.search.exception.SearchException: HSEARCH000338: Incomplete entity information in a document retrieved from the index: the entity type ('org.infinispan.query.nulls.NullCollectionElementsClusteredTest$Foo') or identifier ('null') was missing.
> at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
> at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
> at org.infinispan.query.clustered.ClusteredQueryInvoker.unicast(ClusteredQueryInvoker.java:67)
> ... 29 more
> Caused by: org.hibernate.search.exception.SearchException: org.hibernate.search.exception.SearchException: HSEARCH000338: Incomplete entity information in a document retrieved from the index: the entity type ('org.infinispan.query.nulls.NullCollectionElementsClusteredTest$Foo') or identifier ('null') was missing.
> at org.infinispan.query.clustered.ClusteredQueryInvoker.lambda$localInvoke$4(ClusteredQueryInvoker.java:120)
> ... 4 more
> Caused by: org.hibernate.search.exception.SearchException: HSEARCH000338: Incomplete entity information in a document retrieved from the index: the entity type ('org.infinispan.query.nulls.NullCollectionElementsClusteredTest$Foo') or identifier ('null') was missing.
> at org.hibernate.search.query.engine.impl.EntityInfoImpl.getId(EntityInfoImpl.java:74)
> at org.infinispan.query.clustered.commandworkers.CQWorker.extractKey(CQWorker.java:88)
> at org.infinispan.query.clustered.commandworkers.CQLazyFetcher.perform(CQLazyFetcher.java:19)
> at org.infinispan.query.clustered.commandworkers.CQCommandType.perform(CQCommandType.java:43)
> at org.infinispan.query.clustered.ClusteredQueryOperation.perform(ClusteredQueryOperation.java:74)
> at org.infinispan.query.clustered.SegmentsClusteredQueryCommand.perform(SegmentsClusteredQueryCommand.java:45)
> at org.infinispan.query.clustered.ClusteredQueryInvoker.lambda$localInvoke$4(ClusteredQueryInvoker.java:118)
> ... 4 more
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (ISPN-11305) Broadcast queries with projections fail for LAZY iterator
by Gustavo Fernandes (Jira)
Gustavo Fernandes created ISPN-11305:
----------------------------------------
Summary: Broadcast queries with projections fail for LAZY iterator
Key: ISPN-11305
URL: https://issues.redhat.com/browse/ISPN-11305
Project: Infinispan
Issue Type: Bug
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
{noformat}
[ERROR] query.nulls.NullCollectionElementsClusteredTest(org.infinispan.query.nulls.NullCollectionElementsClusteredTest) Time elapsed: 0.001 s <<< FAILURE!
org.hibernate.search.exception.SearchException: Exception while searching locally
at org.infinispan.query.clustered.ClusteredQueryInvoker.unicast(ClusteredQueryInvoker.java:71)
at org.infinispan.query.clustered.DistributedLazyIterator.fetchValue(DistributedLazyIterator.java:47)
at org.infinispan.query.clustered.DistributedIterator.next(DistributedIterator.java:88)
at org.infinispan.query.nulls.NullCollectionElementsClusteredTest.lambda$testQueryReturnsNullWhenProjectingCacheValue$5(NullCollectionElementsClusteredTest.java:155)
at org.infinispan.test.TestingUtil.lambda$withTxCallable$13(TestingUtil.java:1492)
at org.infinispan.test.TestingUtil.withTx(TestingUtil.java:1475)
at org.infinispan.query.nulls.NullCollectionElementsClusteredTest.testQueryReturnsNullWhenProjectingCacheValue(NullCollectionElementsClusteredTest.java:145)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:230)
at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:242)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:579)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
at org.testng.TestRunner.privateRun(TestRunner.java:648)
at org.testng.TestRunner.run(TestRunner.java:505)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:40)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:489)
at org.testng.internal.thread.ThreadUtil$1.call(ThreadUtil.java:52)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.util.concurrent.ExecutionException: org.hibernate.search.exception.SearchException: org.hibernate.search.exception.SearchException: HSEARCH000338: Incomplete entity information in a document retrieved from the index: the entity type ('org.infinispan.query.nulls.NullCollectionElementsClusteredTest$Foo') or identifier ('null') was missing.
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
at org.infinispan.query.clustered.ClusteredQueryInvoker.unicast(ClusteredQueryInvoker.java:67)
... 29 more
Caused by: org.hibernate.search.exception.SearchException: org.hibernate.search.exception.SearchException: HSEARCH000338: Incomplete entity information in a document retrieved from the index: the entity type ('org.infinispan.query.nulls.NullCollectionElementsClusteredTest$Foo') or identifier ('null') was missing.
at org.infinispan.query.clustered.ClusteredQueryInvoker.lambda$localInvoke$4(ClusteredQueryInvoker.java:120)
... 4 more
Caused by: org.hibernate.search.exception.SearchException: HSEARCH000338: Incomplete entity information in a document retrieved from the index: the entity type ('org.infinispan.query.nulls.NullCollectionElementsClusteredTest$Foo') or identifier ('null') was missing.
at org.hibernate.search.query.engine.impl.EntityInfoImpl.getId(EntityInfoImpl.java:74)
at org.infinispan.query.clustered.commandworkers.CQWorker.extractKey(CQWorker.java:88)
at org.infinispan.query.clustered.commandworkers.CQLazyFetcher.perform(CQLazyFetcher.java:19)
at org.infinispan.query.clustered.commandworkers.CQCommandType.perform(CQCommandType.java:43)
at org.infinispan.query.clustered.ClusteredQueryOperation.perform(ClusteredQueryOperation.java:74)
at org.infinispan.query.clustered.SegmentsClusteredQueryCommand.perform(SegmentsClusteredQueryCommand.java:45)
at org.infinispan.query.clustered.ClusteredQueryInvoker.lambda$localInvoke$4(ClusteredQueryInvoker.java:118)
... 4 more
{noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (ISPN-11304) Allow scaling up without state transfer
by Dan Berindei (Jira)
Dan Berindei created ISPN-11304:
-----------------------------------
Summary: Allow scaling up without state transfer
Key: ISPN-11304
URL: https://issues.redhat.com/browse/ISPN-11304
Project: Infinispan
Issue Type: Feature Request
Components: Core
Affects Versions: 10.1.1.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 11.0.0.Alpha1
We should allow a cache to scale up without performing any state transfer, but without losing the data.
To simplify things, the initial version will support a single owner, and will assume that only one node is being added at a time.
The cache must be accessible remotely, but since information about the location of the keys is not accessible from the client, the client is expected to ignore ownership and use a round-robin access strategy.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month