You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2017/07/13 06:34:55 UTC
ignite git commit: Not need sync rollback.
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 <sb...@gridgain.com>
Authored: Thu Jul 13 09:34:34 2017 +0300
Committer: sboikov <sb...@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);