[JBoss JIRA] (ISPN-5184) The option "shared=true" in custom persistance storage does not work
by Will Burns (Jira)
[ https://issues.redhat.com/browse/ISPN-5184?page=com.atlassian.jira.plugin... ]
Will Burns resolved ISPN-5184.
------------------------------
Resolution: Out of Date
Shared = false is confirmed to be working in more recent versions. Unfortunately this may have been an issue for a now very old version.
> The option "shared=true" in custom persistance storage does not work
> --------------------------------------------------------------------
>
> Key: ISPN-5184
> URL: https://issues.redhat.com/browse/ISPN-5184
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 7.0.3.Final
> Reporter: Pavlo Pohrebnyi
> Assignee: Will Burns
> Priority: Major
>
> When I'm tried to enable option "shared=true" in custom persistance storage, nothing changes - all nodes updates storage (should update only node, that put cache entry).
> This is part of documentation:
> shared - (false by default) indicates that the cache loader is shared among different cache instances, for example where all instances in a cluster use the same JDBC settings to talk to the same remote, shared database. Setting this to true prevents repeated and unnecessary writes of the same data to the cache loader by different cache instances.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 8 months
[JBoss JIRA] (ISPN-12251) HotRodClientJmxTest.testRemoteCacheManagerMBean fails on Java 14
by Katia Aresti (Jira)
[ https://issues.redhat.com/browse/ISPN-12251?page=com.atlassian.jira.plugi... ]
Katia Aresti updated ISPN-12251:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> HotRodClientJmxTest.testRemoteCacheManagerMBean fails on Java 14
> ----------------------------------------------------------------
>
> Key: ISPN-12251
> URL: https://issues.redhat.com/browse/ISPN-12251
> Project: Infinispan
> Issue Type: Bug
> Components: Hot Rod, Test Suite
> Affects Versions: 12.0.0.Dev02
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 12.0.0.Dev03
>
>
> {{HotRodClientJmxTest.testRemoteCacheManagerMBean}} assumes that the result of {{InetSocketAddress.toString()}} for an unresolved address is in the format {{hostname:port}}. But the format changed in Java 14, and now the format is {{hostname/<unresolved>:port}}.
> {noformat}
> java.lang.AssertionError: expected:<localhost:37809> but was:<localhost/<unresolved>:37809>
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:101)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:108)
> at org.infinispan.client.hotrod.HotRodClientJmxTest.testRemoteCacheManagerMBean(HotRodClientJmxTest.java:84)
> {noformat}
> It might be a good idea to change the JMX attribute to only return the hostname instead of changing the test.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 8 months
[JBoss JIRA] (ISPN-12270) Create a indexed cache, add an entry
by Gustavo Fernandes (Jira)
[ https://issues.redhat.com/browse/ISPN-12270?page=com.atlassian.jira.plugi... ]
Work on ISPN-12270 started by Gustavo Fernandes.
------------------------------------------------
> Create a indexed cache, add an entry
> ------------------------------------
>
> Key: ISPN-12270
> URL: https://issues.redhat.com/browse/ISPN-12270
> Project: Infinispan
> Issue Type: Bug
> Components: Console, REST
> Affects Versions: 12.0.0.Dev02
> Reporter: Katia Aresti
> Assignee: Gustavo Fernandes
> Priority: Major
>
> Creating an indexed cache, add an entry and then launch a reindex from the console
>
> {code:java}
> package people;
> message Person {
> required string name = 1;
> }{code}
>
> {code:java}
> {
> "_type": "people.Person",
> "name": "katia"
> }{code}
>
> The 'reindexing' status remains forever and in the server
> {code:java}
> 6:51:46,457 ERROR (blocking-thread--p3-t5) [org.infinispan.rest.resources.SearchAdminResource] ISPN012022: Error executing MassIndexer java.lang.NullPointerException6:51:46,457 ERROR (blocking-thread--p3-t5) [org.infinispan.rest.resources.SearchAdminResource] ISPN012022: Error executing MassIndexer java.lang.NullPointerException at org.infinispan.query.impl.massindex.IndexUpdater.allJavaClasses(IndexUpdater.java:57) at org.infinispan.query.impl.massindex.DistributedExecutorMassIndexer.lambda$executeInternal$3(DistributedExecutorMassIndexer.java:123) at java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1106) at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2235) at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:143) at org.infinispan.query.impl.massindex.DistributedExecutorMassIndexer.executeInternal(DistributedExecutorMassIndexer.java:117) at org.infinispan.query.impl.massindex.DistributedExecutorMassIndexer.run(DistributedExecutorMassIndexer.java:74) at org.infinispan.rest.resources.SearchAdminResource.runIndexer(SearchAdminResource.java:109) at org.infinispan.rest.resources.SearchAdminResource.reindex(SearchAdminResource.java:59) at org.infinispan.rest.framework.impl.RestDispatcherImpl.dispatch(RestDispatcherImpl.java:75) at org.infinispan.rest.RestRequestHandler.handleRestRequest(RestRequestHandler.java:133) at org.infinispan.rest.RestRequestHandler.lambda$channelRead0$0(RestRequestHandler.java:112) at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859) at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837) at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1705) at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at java.base/java.lang.Thread.run(Thread.java:834){code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 8 months
[JBoss JIRA] (ISPN-12270) NPE when calling the Indexer with no indexed entities
by Gustavo Fernandes (Jira)
[ https://issues.redhat.com/browse/ISPN-12270?page=com.atlassian.jira.plugi... ]
Gustavo Fernandes updated ISPN-12270:
-------------------------------------
Summary: NPE when calling the Indexer with no indexed entities (was: Create a indexed cache, add an entry)
> NPE when calling the Indexer with no indexed entities
> -----------------------------------------------------
>
> Key: ISPN-12270
> URL: https://issues.redhat.com/browse/ISPN-12270
> Project: Infinispan
> Issue Type: Bug
> Components: Console, REST
> Affects Versions: 12.0.0.Dev02
> Reporter: Katia Aresti
> Assignee: Gustavo Fernandes
> Priority: Major
>
> Creating an indexed cache, add an entry and then launch a reindex from the console
>
> {code:java}
> package people;
> message Person {
> required string name = 1;
> }{code}
>
> {code:java}
> {
> "_type": "people.Person",
> "name": "katia"
> }{code}
>
> The 'reindexing' status remains forever and in the server
> {code:java}
> 6:51:46,457 ERROR (blocking-thread--p3-t5) [org.infinispan.rest.resources.SearchAdminResource] ISPN012022: Error executing MassIndexer java.lang.NullPointerException6:51:46,457 ERROR (blocking-thread--p3-t5) [org.infinispan.rest.resources.SearchAdminResource] ISPN012022: Error executing MassIndexer java.lang.NullPointerException at org.infinispan.query.impl.massindex.IndexUpdater.allJavaClasses(IndexUpdater.java:57) at org.infinispan.query.impl.massindex.DistributedExecutorMassIndexer.lambda$executeInternal$3(DistributedExecutorMassIndexer.java:123) at java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1106) at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2235) at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:143) at org.infinispan.query.impl.massindex.DistributedExecutorMassIndexer.executeInternal(DistributedExecutorMassIndexer.java:117) at org.infinispan.query.impl.massindex.DistributedExecutorMassIndexer.run(DistributedExecutorMassIndexer.java:74) at org.infinispan.rest.resources.SearchAdminResource.runIndexer(SearchAdminResource.java:109) at org.infinispan.rest.resources.SearchAdminResource.reindex(SearchAdminResource.java:59) at org.infinispan.rest.framework.impl.RestDispatcherImpl.dispatch(RestDispatcherImpl.java:75) at org.infinispan.rest.RestRequestHandler.handleRestRequest(RestRequestHandler.java:133) at org.infinispan.rest.RestRequestHandler.lambda$channelRead0$0(RestRequestHandler.java:112) at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859) at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837) at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1705) at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at java.base/java.lang.Thread.run(Thread.java:834){code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 8 months
[JBoss JIRA] (ISPN-12270) Create a indexed cache, add an entry
by Gustavo Fernandes (Jira)
[ https://issues.redhat.com/browse/ISPN-12270?page=com.atlassian.jira.plugi... ]
Gustavo Fernandes commented on ISPN-12270:
------------------------------------------
This is probably due to the fact the cache is indexed and the entity is not. I will change it so it handles the error properly instead of throwing a NPE
> Create a indexed cache, add an entry
> ------------------------------------
>
> Key: ISPN-12270
> URL: https://issues.redhat.com/browse/ISPN-12270
> Project: Infinispan
> Issue Type: Bug
> Components: Console, REST
> Affects Versions: 12.0.0.Dev02
> Reporter: Katia Aresti
> Assignee: Gustavo Fernandes
> Priority: Major
>
> Creating an indexed cache, add an entry and then launch a reindex from the console
>
> {code:java}
> package people;
> message Person {
> required string name = 1;
> }{code}
>
> {code:java}
> {
> "_type": "people.Person",
> "name": "katia"
> }{code}
>
> The 'reindexing' status remains forever and in the server
> {code:java}
> 6:51:46,457 ERROR (blocking-thread--p3-t5) [org.infinispan.rest.resources.SearchAdminResource] ISPN012022: Error executing MassIndexer java.lang.NullPointerException6:51:46,457 ERROR (blocking-thread--p3-t5) [org.infinispan.rest.resources.SearchAdminResource] ISPN012022: Error executing MassIndexer java.lang.NullPointerException at org.infinispan.query.impl.massindex.IndexUpdater.allJavaClasses(IndexUpdater.java:57) at org.infinispan.query.impl.massindex.DistributedExecutorMassIndexer.lambda$executeInternal$3(DistributedExecutorMassIndexer.java:123) at java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1106) at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2235) at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:143) at org.infinispan.query.impl.massindex.DistributedExecutorMassIndexer.executeInternal(DistributedExecutorMassIndexer.java:117) at org.infinispan.query.impl.massindex.DistributedExecutorMassIndexer.run(DistributedExecutorMassIndexer.java:74) at org.infinispan.rest.resources.SearchAdminResource.runIndexer(SearchAdminResource.java:109) at org.infinispan.rest.resources.SearchAdminResource.reindex(SearchAdminResource.java:59) at org.infinispan.rest.framework.impl.RestDispatcherImpl.dispatch(RestDispatcherImpl.java:75) at org.infinispan.rest.RestRequestHandler.handleRestRequest(RestRequestHandler.java:133) at org.infinispan.rest.RestRequestHandler.lambda$channelRead0$0(RestRequestHandler.java:112) at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859) at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837) at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1705) at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at java.base/java.lang.Thread.run(Thread.java:834){code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 8 months