0 Replies Latest reply on Jul 26, 2015 2:52 PM by Vladimir Dzhuvinov

    Rolling migration of advanced externalisers?

    Vladimir Dzhuvinov Novice

      Is it possible to perform a rolling migration of an advanced externaliser (org.infinispan.commons.marshall.AdvancedExternalizer) to a new implementation with Infinispan 7.2?

       

      We've got a replicated cluster in embedded mode where the app needs to be upgraded and a cached class must now include an additional field. The class is marshalled using a custom advanced externaliser. Is it possible to declare a new preferred externaliser (with new ID) for the class, so we can perform a rolling migration of the cached objects into the new class? Is this as simple as declaring the new preferred externaliser first?