Hi all,
we make use some of Infinispan local caches in WildFly 11 for caching some of our application data. The caches use the default marshaller (JBoss) with a JDBC backend (persisting to a MariaDB database) .Everything works fine. When we start upgrading to WildFly 30, the documentation recommends to use Protostream marshaller instead. Unfortunately, it seems that when we change the marshalling protocol from Jboss to Protostream, the existing persisted cache entries can't be loaded with an error
17:19:29,687 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (Unknown) ISPN000136: Error executing command PutKeyValueCommand on Cache 'savedTemplates', writing keys [org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledKey [java.lang.String]]: org.infinispan.persistence.keymappers.UnsupportedKeyTypeException: Unsupported key type: 'org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledKey' on key: org.wildfly.clustering.marshalling.spi.ByteBufferMarshalledKey [java.lang.String]
at org.infinispan....@14.0.20.Final//org.infinispan.persistence.jdbc.impl.table.AbstractTableManager.key2Str(AbstractTableManager.java:598)
I've tried to delete the corresponding database tables but still got the same error. Are there any ways to migrate the existing cache entries or completely clear them? Would be great if we can do that from CLI, e.g. jboss-cli.sh or something similar.
Thank you very much.
Alex