[infinispan-issues] [JBoss JIRA] (ISPN-7374) Exception caught while executing command org.infinispan.IllegalLifecycleStateException: ISPN000323: Cache '{}_{portname.275213898068544}' is in 'TERMINATED' state

Radim Vansa (JIRA) issues at jboss.org
Thu Aug 24 03:33:01 EDT 2017


    [ https://issues.jboss.org/browse/ISPN-7374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453460#comment-13453460 ] 

Radim Vansa commented on ISPN-7374:
-----------------------------------

This looks like running {{cache.values()}} on a cache that was previously stopped ({{cache.stop()}} - getting an exception is the expected outcome. How are you exactly restarting those nodes, and how does the call relate to the restart?

> 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)


More information about the infinispan-issues mailing list