-
Enhancement
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
Infinispan's TransactionManager impl must have WriteSkewException in the RollbackException cause
split actor1: C2 actor2: C2 actor1: package group free, core group free actor2: package group free, core group free [-XX:+StressLCM, -XX:+StressGCM] Check test failed java.lang.IllegalStateException: javax.transaction.RollbackException: Transaction marked as rollback only. at org.sample.API_01_Simple.doInTx(API_01_Simple.java:84) at org.sample.API_01_Simple.actor1(API_01_Simple.java:36) at org.sample.API_01_Simple_jcstress$1.internalRun(API_01_Simple_jcstress.java:39) at org.openjdk.jcstress.infra.runners.VoidThread.run(VoidThread.java:31) Caused by: javax.transaction.RollbackException: Transaction marked as rollback only. at org.infinispan.commons.tx.TransactionImpl.setRollbackOnly(TransactionImpl.java:155) at org.infinispan.interceptors.impl.InvocationContextInterceptor.markTxForRollback(InvocationContextInterceptor.java:170) at org.infinispan.interceptors.impl.InvocationContextInterceptor.rethrowException(InvocationContextInterceptor.java:132) at org.infinispan.interceptors.impl.InvocationContextInterceptor.lambda$new$0(InvocationContextInterceptor.java:61) at org.infinispan.interceptors.ExceptionSyncInvocationStage.andExceptionally(ExceptionSyncInvocationStage.java:40) at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:133) at org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:89) at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invokeAsync(AsyncInterceptorChainImpl.java:220) at org.infinispan.transaction.impl.TransactionCoordinator.prepare(TransactionCoordinator.java:130) at org.infinispan.transaction.impl.TransactionCoordinator.prepare(TransactionCoordinator.java:111) at org.infinispan.transaction.impl.TransactionTable.beforeCompletion(TransactionTable.java:893) at org.infinispan.transaction.synchronization.SynchronizationAdapter.beforeCompletion(SynchronizationAdapter.java:29) at org.infinispan.commons.tx.TransactionImpl.notifyBeforeCompletion(TransactionImpl.java:489) at org.infinispan.commons.tx.TransactionImpl.runPrepare(TransactionImpl.java:264) at org.infinispan.commons.tx.TransactionImpl.commit(TransactionImpl.java:105) at org.infinispan.commons.tx.TransactionManagerImpl.commit(TransactionManagerImpl.java:73) at org.sample.API_01_Simple.doInTx(API_01_Simple.java:71) ... 3 more Check test failed java.lang.IllegalStateException: javax.transaction.RollbackException: Transaction marked as rollback only. at org.sample.API_01_Simple.doInTx(API_01_Simple.java:84) at org.sample.API_01_Simple.actor1(API_01_Simple.java:36) at org.sample.API_01_Simple_jcstress$1.internalRun(API_01_Simple_jcstress.java:39) at org.openjdk.jcstress.infra.runners.VoidThread.run(VoidThread.java:31) Caused by: javax.transaction.RollbackException: Transaction marked as rollback only. at org.infinispan.commons.tx.TransactionImpl.setRollbackOnly(TransactionImpl.java:155) at org.infinispan.interceptors.impl.InvocationContextInterceptor.markTxForRollback(InvocationContextInterceptor.java:170) at org.infinispan.interceptors.impl.InvocationContextInterceptor.rethrowException(InvocationContextInterceptor.java:132) at org.infinispan.interceptors.impl.InvocationContextInterceptor.lambda$new$0(InvocationContextInterceptor.java:61) at org.infinispan.interceptors.ExceptionSyncInvocationStage.andExceptionally(ExceptionSyncInvocationStage.java:40) at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:133) at org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:89) at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invokeAsync(AsyncInterceptorChainImpl.java:220) at org.infinispan.transaction.impl.TransactionCoordinator.prepare(TransactionCoordinator.java:130) at org.infinispan.transaction.impl.TransactionCoordinator.prepare(TransactionCoordinator.java:111) at org.infinispan.transaction.impl.TransactionTable.beforeCompletion(TransactionTable.java:893) at org.infinispan.transaction.synchronization.SynchronizationAdapter.beforeCompletion(SynchronizationAdapter.java:29) at org.infinispan.commons.tx.TransactionImpl.notifyBeforeCompletion(TransactionImpl.java:489) at org.infinispan.commons.tx.TransactionImpl.runPrepare(TransactionImpl.java:264) at org.infinispan.commons.tx.TransactionImpl.commit(TransactionImpl.java:105) at org.infinispan.commons.tx.TransactionManagerImpl.commit(TransactionManagerImpl.java:73) at org.sample.API_01_Simple.doInTx(API_01_Simple.java:71) ... 3 more Check test failed java.lang.IllegalStateException: javax.transaction.RollbackException: Transaction marked as rollback only. at org.sample.API_01_Simple.doInTx(API_01_Simple.java:84) at org.sample.API_01_Simple.actor1(API_01_Simple.java:36) at org.sample.API_01_Simple_jcstress$1.internalRun(API_01_Simple_jcstress.java:39) at org.openjdk.jcstress.infra.runners.VoidThread.run(VoidThread.java:31) Caused by: javax.transaction.RollbackException: Transaction marked as rollback only. at org.infinispan.commons.tx.TransactionImpl.setRollbackOnly(TransactionImpl.java:155) at org.infinispan.interceptors.impl.InvocationContextInterceptor.markTxForRollback(InvocationContextInterceptor.java:170) at org.infinispan.interceptors.impl.InvocationContextInterceptor.rethrowException(InvocationContextInterceptor.java:132) at org.infinispan.interceptors.impl.InvocationContextInterceptor.lambda$new$0(InvocationContextInterceptor.java:61) at org.infinispan.interceptors.ExceptionSyncInvocationStage.andExceptionally(ExceptionSyncInvocationStage.java:40) at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:133) at org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:89) at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invokeAsync(AsyncInterceptorChainImpl.java:220) at org.infinispan.transaction.impl.TransactionCoordinator.prepare(TransactionCoordinator.java:130) at org.infinispan.transaction.impl.TransactionCoordinator.prepare(TransactionCoordinator.java:111) at org.infinispan.transaction.impl.TransactionTable.beforeCompletion(TransactionTable.java:893) at org.infinispan.transaction.synchronization.SynchronizationAdapter.beforeCompletion(SynchronizationAdapter.java:29) at org.infinispan.commons.tx.TransactionImpl.notifyBeforeCompletion(TransactionImpl.java:489) at org.infinispan.commons.tx.TransactionImpl.runPrepare(TransactionImpl.java:264) at org.infinispan.commons.tx.TransactionImpl.commit(TransactionImpl.java:105) at org.infinispan.commons.tx.TransactionManagerImpl.commit(TransactionManagerImpl.java:73) at org.sample.API_01_Simple.doInTx(API_01_Simple.java:71) ... 3 more Unrecoverable error while running java.lang.IllegalStateException: javax.transaction.RollbackException: Transaction marked as rollback only. at org.sample.API_01_Simple.doInTx(API_01_Simple.java:84) at org.sample.API_01_Simple.actor1(API_01_Simple.java:36) at org.sample.API_01_Simple_jcstress.run_actor1(API_01_Simple_jcstress.java:209) at org.sample.API_01_Simple_jcstress.task_actor1(API_01_Simple_jcstress.java:190) at org.sample.API_01_Simple_jcstress.access$000(API_01_Simple_jcstress.java:19) at org.sample.API_01_Simple_jcstress$4.internalRun(API_01_Simple_jcstress.java:131) at org.openjdk.jcstress.infra.runners.CounterThread.run(CounterThread.java:38) Caused by: javax.transaction.RollbackException: Transaction marked as rollback only. at org.infinispan.commons.tx.TransactionImpl.setRollbackOnly(TransactionImpl.java:155) at org.infinispan.interceptors.impl.InvocationContextInterceptor.markTxForRollback(InvocationContextInterceptor.java:170) at org.infinispan.interceptors.impl.InvocationContextInterceptor.rethrowException(InvocationContextInterceptor.java:132) at org.infinispan.interceptors.impl.InvocationContextInterceptor.lambda$new$0(InvocationContextInterceptor.java:61) at org.infinispan.interceptors.ExceptionSyncInvocationStage.andExceptionally(ExceptionSyncInvocationStage.java:40) at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:133) at org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:89) at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invokeAsync(AsyncInterceptorChainImpl.java:220) at org.infinispan.transaction.impl.TransactionCoordinator.prepare(TransactionCoordinator.java:130) at org.infinispan.transaction.impl.TransactionCoordinator.prepare(TransactionCoordinator.java:111) at org.infinispan.transaction.impl.TransactionTable.beforeCompletion(TransactionTable.java:893) at org.infinispan.transaction.synchronization.SynchronizationAdapter.beforeCompletion(SynchronizationAdapter.java:29) at org.infinispan.commons.tx.TransactionImpl.notifyBeforeCompletion(TransactionImpl.java:489) at org.infinispan.commons.tx.TransactionImpl.runPrepare(TransactionImpl.java:264) at org.infinispan.commons.tx.TransactionImpl.commit(TransactionImpl.java:105) at org.infinispan.commons.tx.TransactionManagerImpl.commit(TransactionManagerImpl.java:73) at org.sample.API_01_Simple.doInTx(API_01_Simple.java:71) ... 6 more Check test failed java.lang.IllegalStateException: javax.transaction.RollbackException: Transaction marked as rollback only. at org.sample.API_01_Simple.doInTx(API_01_Simple.java:84) at org.sample.API_01_Simple.actor1(API_01_Simple.java:36) at org.sample.API_01_Simple_jcstress$1.internalRun(API_01_Simple_jcstress.java:39) at org.openjdk.jcstress.infra.runners.VoidThread.run(VoidThread.java:31) Caused by: javax.transaction.RollbackException: Transaction marked as rollback only. at org.infinispan.commons.tx.TransactionImpl.setRollbackOnly(TransactionImpl.java:155) at org.infinispan.interceptors.impl.InvocationContextInterceptor.markTxForRollback(InvocationContextInterceptor.java:170) at org.infinispan.interceptors.impl.InvocationContextInterceptor.rethrowException(InvocationContextInterceptor.java:132) at org.infinispan.interceptors.impl.InvocationContextInterceptor.lambda$new$0(InvocationContextInterceptor.java:61) at org.infinispan.interceptors.ExceptionSyncInvocationStage.andExceptionally(ExceptionSyncInvocationStage.java:40) at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:133) at org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:89) at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invokeAsync(AsyncInterceptorChainImpl.java:220) at org.infinispan.transaction.impl.TransactionCoordinator.prepare(TransactionCoordinator.java:130) at org.infinispan.transaction.impl.TransactionCoordinator.prepare(TransactionCoordinator.java:111) at org.infinispan.transaction.impl.TransactionTable.beforeCompletion(TransactionTable.java:893) at org.infinispan.transaction.synchronization.SynchronizationAdapter.beforeCompletion(SynchronizationAdapter.java:29) at org.infinispan.commons.tx.TransactionImpl.notifyBeforeCompletion(TransactionImpl.java:489) at org.infinispan.commons.tx.TransactionImpl.runPrepare(TransactionImpl.java:264) at org.infinispan.commons.tx.TransactionImpl.commit(TransactionImpl.java:105) at org.infinispan.commons.tx.TransactionManagerImpl.commit(TransactionManagerImpl.java:73) at org.sample.API_01_Simple.doInTx(API_01_Simple.java:71) ... 3 more VM Output Streams split actor1: Interpreter actor2: Interpreter actor1: package group free, core group free actor2: package group free, core group free causes -> [RollbackException]