-
Bug
-
Resolution: Done
-
Major
-
11.0.9.Final, 12.0.0.Final
-
None
Caused by: java.lang.IllegalArgumentException: Cannot create a transactional context without a valid Transaction instance.
at org.infinispan.context.impl.TransactionalInvocationContextFactory.createInvocationContext(TransactionalInvocationContextFactory.java:63)
[...]
at org.infinispan.cache.impl.DecoratedCache.putIfAbsent(DecoratedCache.java:688)
at org.infinispan.cache.impl.AbstractDelegatingAdvancedCache.putIfAbsent(AbstractDelegatingAdvancedCache.java:328)
at org.infinispan.cache.impl.EncoderCache.putIfAbsent(EncoderCache.java:450)
at org.infinispan.persistence.remote.upgrade.MigrationTask.lambda$migrateEntriesWithMetadata$0(MigrationTask.java:128)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1771)
The migration component that obtains data from the remote cache does not use transactions to write to the destination cache, and since it runs on a separate thread, it cannot see any ongoing transaction and thus fail to write to the cache.
- is cloned by
-
JDG-4315 IllegalArgumentException when doing Rolling Upgrades on transactional caches
-
- Closed
-