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

HotRod Rolling Upgrades NPE when disabling cache store on target node

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 6.0.0.Final
    • 6.0.0.Beta1
    • None
    • Hide

      Please, see also comment "New Observations" below in comments.

      This is not present during rolling upgrades from infinispan-server-6.0.0-SNAPSHOT to infinispan-server-6.0.0-SNAPSHOT. It means during rolling upgrades between 2 servers of current version.

      This issue appears during rolling upgrades from cluster of 2 JDG 6.1.GA nodes to cluster of 2 infinispan-server-6.0.0-SNAPSHOT nodes.

      Please, see configuration files for both clusters in attachment! It's possible that this could be only configuration issue!

      Show
      Please, see also comment "New Observations" below in comments. This is not present during rolling upgrades from infinispan-server-6.0.0-SNAPSHOT to infinispan-server-6.0.0-SNAPSHOT. It means during rolling upgrades between 2 servers of current version. This issue appears during rolling upgrades from cluster of 2 JDG 6.1.GA nodes to cluster of 2 infinispan-server-6.0.0-SNAPSHOT nodes. Please, see configuration files for both clusters in attachment! It's possible that this could be only configuration issue!

    Description

      After Tristan's fix for https://issues.jboss.org/browse/ISPN-3183 we can move successfully through recordKnownGlobalKeyset and synchronizeData operations.

      However, when we want to issue disconnectSource operation on target node, it is failing with given error:

      javax.management.MBeanException
      at org.infinispan.jmx.ResourceDMBean.invoke(ResourceDMBean.java:273)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791)
      at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.invoke(PluggableMBeanServerImpl.java:527)
      at org.jboss.as.jmx.PluggableMBeanServerImpl.invoke(PluggableMBeanServerImpl.java:263)
      at org.jboss.remotingjmx.protocol.v1.ServerProxy$InvokeHandler.handle(ServerProxy.java:1058)
      at org.jboss.remotingjmx.protocol.v1.ServerProxy$MessageReciever$1.run(ServerProxy.java:225)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:722)
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.infinispan.jmx.ResourceDMBean.invoke(ResourceDMBean.java:271)
      ... 9 more
      Caused by: java.lang.NullPointerException
      at org.infinispan.persistence.manager.PersistenceManagerImpl.disableStore(PersistenceManagerImpl.java:253)
      at org.infinispan.persistence.remote.upgrade.HotRodTargetMigrator.disconnectSource(HotRodTargetMigrator.java:101)
      at org.infinispan.upgrade.RollingUpgradeManager.disconnectSource(RollingUpgradeManager.java:71)
      ... 14 more

      Short input from Tristan: "problem is that after removing the store, it determines there are no more stores left so it tries to remove the loader/writer interceptors which for some reason are missing"

      Attachments

        Activity

          People

            pruivo@redhat.com Pedro Ruivo
            tsykora@redhat.com Tomas Sykora
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: