[JBoss JIRA] (ISPN-3618) Cannot retrieve evicted entries from Microsoft SQL Server 2012/2008R2
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-3618?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-3618:
----------------------------------
Fix Version/s: 8.2.6.Final
> Cannot retrieve evicted entries from Microsoft SQL Server 2012/2008R2
> ---------------------------------------------------------------------
>
> Key: ISPN-3618
> URL: https://issues.jboss.org/browse/ISPN-3618
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores, Server
> Affects Versions: 6.0.0.CR1
> Reporter: Jakub Markos
> Assignee: Ryan Emerson
> Fix For: 9.0.0.Beta2, 9.0.0.Final, 8.2.6.Final
>
> Attachments: server_mssql2012_mysql55.log.zip
>
>
> When using this configuration:
> {code:xml}
> <local-cache name="default" start="EAGER" batching="false">
> <locking isolation="READ_COMMITTED" acquire-timeout="20000" concurrency-level="500" striping="false" />
> <transaction mode="NONE" />
> <eviction strategy="LRU" max-entries="2"/>
> <string-keyed-jdbc-store name="defaultStoreName" datasource="java:jboss/datasources/JdbcDS" passivation="false" preload="true" purge="false">
> <string-keyed-table prefix="EDG_STRING">
> <id-column name="id" type="VARCHAR(255)"/>
> <data-column name="datum" type="VARBINARY(1000)"/>
> <timestamp-column name="version" type="BIGINT"/>
> </string-keyed-table>
> </string-keyed-jdbc-store>
> </local-cache>
> {code}
> and running this code:
> {code}
> RemoteCache<Object, Object> cache = new RemoteCacheManager(conf).getCache();
> cache.clear();
> cache.put(new Double(10), new Double(10));
> cache.put(new Double(20), new Double(20));
> cache.put(new Double(30), new Double(30)); // key 10 is evicted
> System.out.println(cache.get(new Double(10)));
> System.out.println(cache.get(new Double(20)));
> System.out.println(cache.get(new Double(30)));
> {code}
> output:
> {quote}
> null
> 20.0
> 30.0
> {quote}
> Attached are logs for mssql2012 and mysql55 (where it works).
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (ISPN-701) New JDBC CacheStore implementation w/ more flexible vendor-specific extension and binary key column support
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-701?page=com.atlassian.jira.plugin.s... ]
Tristan Tarrant updated ISPN-701:
---------------------------------
Fix Version/s: 8.2.6.Final
> New JDBC CacheStore implementation w/ more flexible vendor-specific extension and binary key column support
> -----------------------------------------------------------------------------------------------------------
>
> Key: ISPN-701
> URL: https://issues.jboss.org/browse/ISPN-701
> Project: Infinispan
> Issue Type: Task
> Components: Loaders and Stores
> Reporter: Trustin Lee
> Assignee: Ryan Emerson
> Labels: jdbc
> Fix For: 9.0.0.Alpha2, 9.0.0.Final, 8.2.6.Final
>
>
> The current JDBC {{CacheStore}} implementation has the following shortcomings:
> * poor support for vendor specific queries (e.g. MySQL's replace into)
> * complex configuration is required to support the key types that cannot be converted to a String easily.
> To address this issue:
> * Introduce a single unified JDBC {{CacheStore}} implementation.
> * Support an arbitrary key type as long as it can be serialized via {{Marshaller}}.
> * Support both text and binary key.
> * Encode the binary key into a text key using an efficient text encoding if the target database doesn't support binary key column.
> * Provide much more flexibility in supporting vendor specific extensions. Let the user extend our {{CacheStore}} implementation and override the DB access (no more TableManipulation).
> Once implemented, the existing JDBC {{CacheStore}} could be deprecated.
> Configuring this would be, for example, {{GenericJdbcCacheStore}} which would have no vendor-specific optimisations, and {{MySqlJdbcCacheStore}} (subclasses {{GenericJdbcCacheStore}}) which would contain MySQL specific optimisations, etc.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (ISPN-7374) Exception caught while executing command org.infinispan.IllegalLifecycleStateException: ISPN000323: Cache '{}_{portname.275213898068544}' is in 'TERMINATED' state
by Ankit Tripathi (JIRA)
Ankit Tripathi created ISPN-7374:
------------------------------------
Summary: Exception caught while executing command org.infinispan.IllegalLifecycleStateException: ISPN000323: Cache '{}_{portname.275213898068544}' is in 'TERMINATED' state
Key: ISPN-7374
URL: https://issues.jboss.org/browse/ISPN-7374
Project: Infinispan
Issue Type: Feature Request
Components: Cloud Integrations
Affects Versions: 8.2.2.Final
Reporter: Ankit Tripathi
We are using Opendaylight Controller in a 3 node cluster Env. Which uses infinispan cache for storing and replicating the data in the cluster.
After rebooting all the 3 nodes, we are observing the below infinispan error.
Exception caught while executing command
org.infinispan.IllegalLifecycleStateException: ISPN000323: Cache '{}_{portname.275213898068544}' is in 'TERMINATED' state and so it does not accept new invocations. Either restart it or recreate the cache container.
at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:101)
at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:83)
at org.infinispan.commands.AbstractVisitor.visitEntrySetCommand(AbstractVisitor.java:105)
at org.infinispan.commands.read.EntrySetCommand.acceptVisitor(EntrySetCommand.java:49)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:113)
at org.infinispan.commands.AbstractVisitor.visitEntrySetCommand(AbstractVisitor.java:105)
at org.infinispan.interceptors.distribution.DistributionBulkInterceptor.visitEntrySetCommand(DistributionBulkInterceptor.java:60)
at org.infinispan.interceptors.distribution.DistributionBulkInterceptor.visitEntrySetCommand(DistributionBulkInterceptor.java:49)
at org.infinispan.commands.read.EntrySetCommand.acceptVisitor(EntrySetCommand.java:49)
at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:335)
at org.infinispan.cache.impl.CacheImpl.cacheEntrySet(CacheImpl.java:624)
at org.infinispan.cache.impl.CacheImpl.values(CacheImpl.java:612)
at org.infinispan.cache.impl.CacheImpl.values(CacheImpl.java:608)
at org.infinispan.cache.impl.CacheImpl.values(CacheImpl.java:126)
at org.opendaylight.controller.clustering.services_implementation.internal.ExceptionAwareWrapperCache.values(ExceptionAwareWrapperCache.java:236)
We tried below workaround mentioned in below link. and it worked ( we gave 10 sec delay between node restart in cluster)
https://bugzilla.redhat.com/show_bug.cgi?id=900946
we found another link reporting the similar issue(not sure) in higher version.
https://issues.jboss.org/browse/ISPN-5075
Please suggest.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (ISPN-7311) CacheJmxRegistration retains a lot of memory even though the JmxStatstics is turned off
by Radim Vansa (JIRA)
[ https://issues.jboss.org/browse/ISPN-7311?page=com.atlassian.jira.plugin.... ]
Radim Vansa commented on ISPN-7311:
-----------------------------------
Hi [~senv1205], do I understand correctly that you have 11,900 caches on the production instance? We've already seen few thousands of caches (and fixed resource usage problems), but generally we would advise against such setup; as Cache is conceptually an equivalent of SQL table, we develop with rather tens or hundreds of caches in mind.
There are only a couple of references to {{CacheJmxRegistration}}, have you tried simply commenting out all the references?
> CacheJmxRegistration retains a lot of memory even though the JmxStatstics is turned off
> ---------------------------------------------------------------------------------------
>
> Key: ISPN-7311
> URL: https://issues.jboss.org/browse/ISPN-7311
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 7.0.3.Final
> Environment: Production
> Reporter: Senthil Kumar Balakrishnan
> Attachments: Screen Shot 2016-12-12 at 10.21.06 AM.png
>
>
> In production environment we see a lot of JmxObjects getting created for each cache created in infinispan, it's very expensive in terms of memory usage. Is there a possibility to disable or not create these JmxObjects when the JmxStatistics are turned off ?
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (ISPN-7356) Random TimeoutExceptions on query suite
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-7356?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-7356:
------------------------------------
Summary: Random TimeoutExceptions on query suite (was: Random TimeoutTxceptions on query suite)
> Random TimeoutExceptions on query suite
> ---------------------------------------
>
> Key: ISPN-7356
> URL: https://issues.jboss.org/browse/ISPN-7356
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Query
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Attachments: trace.tgz
>
>
> After the removal of DONT_BUNDLE, many tests started to fail randomly with TimeOutExceptions. Stack trace from AsyncBackendTest:
> {noformat}
> [TestSuiteProgress] Test starting: org.infinispan.query.backend.AsyncBackendTest.testHierarchy
> Transport protocol stack used = tcp
> 17:20:14,373 ERROR (timeout-thread-AsyncBackendTest-NodeA-p3-t1) [InvocationContextInterceptor] ISPN000136: Error executing command PutKeyValueCommand, writing keys [*|person.1|-1]
> org.infinispan.util.concurrent.TimeoutException: Replication timeout for AsyncBackendTest-NodeB-14311
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.checkRsp(JGroupsTransport.java:907)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$1(JGroupsTransport.java:634)
> at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
> at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
> at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
> at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
> at org.infinispan.remoting.transport.jgroups.SingleResponseFuture.call(SingleResponseFuture.java:51)
> at org.infinispan.remoting.transport.jgroups.SingleResponseFuture.call(SingleResponseFuture.java:16)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)17:20:14,373 ERROR (jgroups-8,AsyncBackendTest-NodeB-14311) [InvocationContextInterceptor] ISPN000136: Error executing command PutKeyValueCommand, writing keys [2]
> org.infinispan.util.concurrent.TimeoutException: Replication timeout for AsyncBackendTest-NodeA-36041
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.checkRsp(JGroupsTransport.java:907)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$1(JGroupsTransport.java:634)
> at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
> at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
> at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
> at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
> at org.infinispan.remoting.transport.jgroups.SingleResponseFuture.call(SingleResponseFuture.java:51)
> at org.infinispan.remoting.transport.jgroups.SingleResponseFuture.call(SingleResponseFuture.java:16)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)Exception in thread "Hibernate Search: async deletion of index segments-1" org.infinispan.util.concurrent.TimeoutException: Replication timeout for AsyncBackendTest-NodeB-14311
> at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:252)
> at org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:1517)
> at org.infinispan.cache.impl.CacheImpl.putInternal(CacheImpl.java:1120)
> at org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:1110)
> at org.infinispan.cache.impl.DecoratedCache.put(DecoratedCache.java:418)
> at org.infinispan.cache.impl.AbstractDelegatingCache.put(AbstractDelegatingCache.java:358)
> at org.infinispan.cache.impl.TypeConverterDelegatingAdvancedCache.put(TypeConverterDelegatingAdvancedCache.java:166)
> at org.infinispan.lucene.impl.FileListOperations.updateFileList(FileListOperations.java:159)
> at org.infinispan.lucene.impl.FileListOperations.deleteFileName(FileListOperations.java:137)
> at org.infinispan.lucene.impl.DirectoryImplementor.deleteFile(DirectoryImplementor.java:70)
> at org.infinispan.lucene.impl.DirectoryLucene$DeleteTask.run(DirectoryLucene.java:202)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: org.infinispan.util.concurrent.TimeoutException: Replication timeout for AsyncBackendTest-NodeB-14311
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.checkRsp(JGroupsTransport.java:907)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$1(JGroupsTransport.java:634)
> at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
> at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
> at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
> at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
> at org.infinispan.remoting.transport.jgroups.SingleResponseFuture.call(SingleResponseFuture.java:51)
> at org.infinispan.remoting.transport.jgroups.SingleResponseFuture.call(SingleResponseFuture.java:16)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
> ... 3 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (ISPN-7356) Random TimeoutTxceptions on query suite
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-7356?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-7356:
------------------------------------
Summary: Random TimeoutTxceptions on query suite (was: AsyncBackendTest random failures)
> Random TimeoutTxceptions on query suite
> ---------------------------------------
>
> Key: ISPN-7356
> URL: https://issues.jboss.org/browse/ISPN-7356
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Query
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Attachments: trace.tgz
>
>
> After the removal of DONT_BUNDLE, many tests started to fail randomly with TimeOutExceptions. Stack trace from AsyncBackendTest:
> {noformat}
> [TestSuiteProgress] Test starting: org.infinispan.query.backend.AsyncBackendTest.testHierarchy
> Transport protocol stack used = tcp
> 17:20:14,373 ERROR (timeout-thread-AsyncBackendTest-NodeA-p3-t1) [InvocationContextInterceptor] ISPN000136: Error executing command PutKeyValueCommand, writing keys [*|person.1|-1]
> org.infinispan.util.concurrent.TimeoutException: Replication timeout for AsyncBackendTest-NodeB-14311
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.checkRsp(JGroupsTransport.java:907)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$1(JGroupsTransport.java:634)
> at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
> at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
> at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
> at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
> at org.infinispan.remoting.transport.jgroups.SingleResponseFuture.call(SingleResponseFuture.java:51)
> at org.infinispan.remoting.transport.jgroups.SingleResponseFuture.call(SingleResponseFuture.java:16)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)17:20:14,373 ERROR (jgroups-8,AsyncBackendTest-NodeB-14311) [InvocationContextInterceptor] ISPN000136: Error executing command PutKeyValueCommand, writing keys [2]
> org.infinispan.util.concurrent.TimeoutException: Replication timeout for AsyncBackendTest-NodeA-36041
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.checkRsp(JGroupsTransport.java:907)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$1(JGroupsTransport.java:634)
> at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
> at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
> at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
> at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
> at org.infinispan.remoting.transport.jgroups.SingleResponseFuture.call(SingleResponseFuture.java:51)
> at org.infinispan.remoting.transport.jgroups.SingleResponseFuture.call(SingleResponseFuture.java:16)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)Exception in thread "Hibernate Search: async deletion of index segments-1" org.infinispan.util.concurrent.TimeoutException: Replication timeout for AsyncBackendTest-NodeB-14311
> at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:252)
> at org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:1517)
> at org.infinispan.cache.impl.CacheImpl.putInternal(CacheImpl.java:1120)
> at org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:1110)
> at org.infinispan.cache.impl.DecoratedCache.put(DecoratedCache.java:418)
> at org.infinispan.cache.impl.AbstractDelegatingCache.put(AbstractDelegatingCache.java:358)
> at org.infinispan.cache.impl.TypeConverterDelegatingAdvancedCache.put(TypeConverterDelegatingAdvancedCache.java:166)
> at org.infinispan.lucene.impl.FileListOperations.updateFileList(FileListOperations.java:159)
> at org.infinispan.lucene.impl.FileListOperations.deleteFileName(FileListOperations.java:137)
> at org.infinispan.lucene.impl.DirectoryImplementor.deleteFile(DirectoryImplementor.java:70)
> at org.infinispan.lucene.impl.DirectoryLucene$DeleteTask.run(DirectoryLucene.java:202)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: org.infinispan.util.concurrent.TimeoutException: Replication timeout for AsyncBackendTest-NodeB-14311
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.checkRsp(JGroupsTransport.java:907)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$1(JGroupsTransport.java:634)
> at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
> at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
> at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
> at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
> at org.infinispan.remoting.transport.jgroups.SingleResponseFuture.call(SingleResponseFuture.java:51)
> at org.infinispan.remoting.transport.jgroups.SingleResponseFuture.call(SingleResponseFuture.java:16)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
> ... 3 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months