Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1241

Ignore IllegalState exceptions for invalidation commands

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 5.0.0.CR8, 5.0.0.FINAL
    • None
    • Core
    • None

    Description

      We should ignore errors about Invalidation messages not being applied, such as:

      2011-07-14 15:16:20,940 ERROR [RebalanceTask]
      (Rehasher,Infinispan-Cluster,NonStringKeyStateTransferTest-NodeC-7649)
      ISPN000145: Error during rehash
      java.lang.IllegalStateException: Default cache is in 'STOPPING' state
      and this is an invocation not belonging to an on-going transaction, so
      it does not accept new invocations. Either restart it or recreate the
      cache container.
             at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:83)
             at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:64)
             at org.infinispan.commands.AbstractVisitor.visitInvalidateCommand(AbstractVisitor.java:120)
             at org.infinispan.commands.AbstractVisitor.visitInvalidateL1Command(AbstractVisitor.java:124)
             at org.infinispan.commands.write.InvalidateL1Command.acceptVisitor(InvalidateL1Command.java:177)
             at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:274)
             at org.infinispan.distribution.RebalanceTask.invalidateKeys(RebalanceTask.java:172)
             at org.infinispan.distribution.RebalanceTask.performRehash(RebalanceTask.java:145)
             at org.infinispan.distribution.RehashTask.call(RehashTask.java:67)
             at org.infinispan.distribution.RehashTask.call(RehashTask.java:44)
             at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
             at java.util.concurrent.FutureTask.run(FutureTask.java:138)
             at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
             at java.lang.Thread.run(Thread.java:662)

      Attachments

        Activity

          People

            sgrinove Sanne Grinovero
            sgrinove Sanne Grinovero
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: