-
Bug
-
Resolution: Done
-
Major
-
14.0.23.Final, 15.0.0.Final
-
None
The MigrationTask utilised by HR Rolling Upgrades relies on a ComputeCommand to migrate entries between clusters, however this is not currently supported by the ProtobufMetadataManagerInterceptor resulting in the following exception being thrown:
12:05:55,289 ERROR [o.i.i.i.InvocationContextInterceptor] ISPN000136: Error executing command ComputeCommand on Cache '___protobuf_metadata', writing keys [schema.proto] org.infinispan.commons.CacheException: ISPN028014: The '___protobuf_metadata' cache does not support commands of type org.infinispan.commands.write.ComputeCommand at org.infinispan.query.remote.impl.ProtobufMetadataManagerInterceptor.handleUnsupportedCommand(ProtobufMetadataManagerInterceptor.java:533) at org.infinispan.query.remote.impl.ProtobufMetadataManagerInterceptor.visitComputeCommand(ProtobufMetadataManagerInterceptor.java:484) at org.infinispan.commands.write.ComputeCommand.acceptVisitor(ComputeCommand.java:130) at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:58) at org.infinispan.interceptors.BaseAsyncInterceptor.asyncInvokeNext(BaseAsyncInterceptor.java:231) at org.infinispan.interceptors.impl.EntryWrappingInterceptor.setSkipRemoteGetsAndInvokeNextForDataCommand(EntryWrappingInterceptor.java:732) at org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitComputeCommand(EntryWrappingInterceptor.java:424) at org.infinispan.commands.write.ComputeCommand.acceptVisitor(ComputeCommand.java:130) at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:58) at org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:54) at org.infinispan.interceptors.DDAsyncInterceptor.visitComputeCommand(DDAsyncInterceptor.java:80) at org.infinispan.commands.write.ComputeCommand.acceptVisitor(ComputeCommand.java:130) at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:58) at org.infinispan.interceptors.BaseAsyncInterceptor.lambda$new$0(BaseAsyncInterceptor.java:26) at org.infinispan.interceptors.SyncInvocationStage.thenApply(SyncInvocationStage.java:44) at org.infinispan.interceptors.BaseAsyncInterceptor.asyncInvokeNext(BaseAsyncInterceptor.java:245) at org.infinispan.interceptors.locking.PessimisticLockingInterceptor.acquireLocalLockAndInvokeNext(PessimisticLockingInterceptor.java:285) at org.infinispan.interceptors.locking.PessimisticLockingInterceptor.visitDataWriteCommand(PessimisticLockingInterceptor.java:149) at org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitComputeCommand(AbstractLockingInterceptor.java:92) at org.infinispan.commands.write.ComputeCommand.acceptVisitor(ComputeCommand.java:130) at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndFinally(BaseAsyncInterceptor.java:154) at org.infinispan.interceptors.impl.TxInterceptor.handleWriteCommand(TxInterceptor.java:381) at org.infinispan.interceptors.impl.TxInterceptor.visitComputeCommand(TxInterceptor.java:237) at org.infinispan.commands.write.ComputeCommand.acceptVisitor(ComputeCommand.java:130) at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:58) at org.infinispan.statetransfer.TransactionSynchronizerInterceptor.visitCommand(TransactionSynchronizerInterceptor.java:41) at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndHandle(BaseAsyncInterceptor.java:189) at org.infinispan.statetransfer.StateTransferInterceptor.handleTxWriteCommand(StateTransferInterceptor.java:264) at org.infinispan.statetransfer.StateTransferInterceptor.handleWriteCommand(StateTransferInterceptor.java:254) at org.infinispan.statetransfer.StateTransferInterceptor.visitComputeCommand(StateTransferInterceptor.java:124) at org.infinispan.commands.write.ComputeCommand.acceptVisitor(ComputeCommand.java:130) at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:58) at org.infinispan.interceptors.impl.CacheMgmtInterceptor.visitComputeCommand(CacheMgmtInterceptor.java:241) at org.infinispan.commands.write.ComputeCommand.acceptVisitor(ComputeCommand.java:130) at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:127) at org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:90) at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:60) at org.infinispan.interceptors.impl.BatchingInterceptor.handleDefault(BatchingInterceptor.java:82) at org.infinispan.interceptors.DDAsyncInterceptor.visitComputeCommand(DDAsyncInterceptor.java:80) at org.infinispan.commands.write.ComputeCommand.acceptVisitor(ComputeCommand.java:130) at org.infinispan.interceptors.DDAsyncInterceptor.visitCommand(DDAsyncInterceptor.java:50) at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:238) at org.infinispan.cache.impl.InvocationHelper.doInvoke(InvocationHelper.java:323) at org.infinispan.cache.impl.InvocationHelper.executeCommandWithInjectedTx(InvocationHelper.java:205) at org.infinispan.cache.impl.InvocationHelper.invoke(InvocationHelper.java:110) at org.infinispan.persistence.remote.upgrade.MigrationTask.writeToDestinationCache(MigrationTask.java:164) at org.infinispan.persistence.remote.upgrade.MigrationTask.lambda$migrateEntriesWithMetadata$0(MigrationTask.java:146) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583)
- blocks
-
JDG-6860 [Operator] Indexed HotRod Rolling Upgrades fail when cache name is sorted before ___protobuf_metadata cache
- Verified