ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject ignite git commit: Not need sync rollback.
Date Thu, 13 Jul 2017 06:34:55 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-5578-rollback [created] 81238897a


Not need sync rollback.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/81238897
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/81238897
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/81238897

Branch: refs/heads/ignite-5578-rollback
Commit: 81238897ae2c70d5e611c199b4e152bd1c4083a5
Parents: 120384f
Author: sboikov <sboikov@gridgain.com>
Authored: Thu Jul 13 09:34:34 2017 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Thu Jul 13 09:34:34 2017 +0300

----------------------------------------------------------------------
 .../cache/distributed/dht/GridDhtTxLocal.java          | 13 -------------
 1 file changed, 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/81238897/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtTxLocal.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtTxLocal.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtTxLocal.java
index e1bc313..5b8a7b5 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtTxLocal.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtTxLocal.java
@@ -416,19 +416,6 @@ public class GridDhtTxLocal extends GridDhtTxLocalAdapter implements
GridCacheMa
             setRollbackOnly();
 
             fut.onError(new IgniteTxRollbackCheckedException("Failed to prepare transaction:
" + this, e));
-
-            try {
-                rollbackDhtLocal();
-            }
-            catch (IgniteTxOptimisticCheckedException e1) {
-                if (log.isDebugEnabled())
-                    log.debug("Failed optimistically to prepare transaction [tx=" + this
+ ", e=" + e1 + ']');
-
-                fut.onError(e);
-            }
-            catch (IgniteCheckedException e1) {
-                U.error(log, "Failed to rollback transaction: " + this, e1);
-            }
         }
 
         return chainOnePhasePrepare(fut);


Mime
View raw message