Permalink
Browse files

ISPN-2847 No longer needed to mark transactions that are from state t…

…ransfer in StateConsumerImpl

This code was moved to TxInterceptor.enlistWriteAndInvokeNext for ISPN-2847 and is superfluous here. Was left behind by mistake.
  • Loading branch information...
1 parent edfa348 commit 7bad8e4d072bf961ef48f8ba561b0a85a2cc3d1a @anistor anistor committed with Mircea Markus Mar 12, 2013
Showing with 0 additions and 2 deletions.
  1. +0 −2 core/src/main/java/org/infinispan/statetransfer/StateConsumerImpl.java
View
2 core/src/main/java/org/infinispan/statetransfer/StateConsumerImpl.java
@@ -51,7 +51,6 @@
import org.infinispan.remoting.rpc.RpcManager;
import org.infinispan.remoting.transport.Address;
import org.infinispan.topology.CacheTopology;
-import org.infinispan.transaction.LocalTransaction;
import org.infinispan.transaction.LockingMode;
import org.infinispan.transaction.RemoteTransaction;
import org.infinispan.transaction.TransactionTable;
@@ -483,7 +482,6 @@ private void doApplyState(Address sender, int segmentId, Collection<InternalCach
} finally {
if (ctx.isInTxScope()) {
if (success) {
- ((LocalTransaction)((TxInvocationContext)ctx).getCacheTransaction()).setFromStateTransfer(true);
try {
transactionManager.commit();
} catch (Throwable ex) {

0 comments on commit 7bad8e4

Please sign in to comment.