Repository: ignite Updated Branches: refs/heads/ignite-single-op-tx 8c8c5b596 -> 29b5b4aa1
'Single' operations optimizations for tx cache. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/29b5b4aa Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/29b5b4aa Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/29b5b4aa Branch: refs/heads/ignite-single-op-tx Commit: 29b5b4aa1b918a276badd4b426b4db310acc6372 Parents: 8c8c5b5 Author: sboikov <sboi...@gridgain.com> Authored: Mon Nov 16 09:04:32 2015 +0300 Committer: sboikov <sboi...@gridgain.com> Committed: Mon Nov 16 09:04:32 2015 +0300 ---------------------------------------------------------------------- .../cache/transactions/IgniteTxImplicitSingleStateImpl.java | 2 ++ .../processors/cache/transactions/IgniteTxRemoteStateImpl.java | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/29b5b4aa/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxImplicitSingleStateImpl.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxImplicitSingleStateImpl.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxImplicitSingleStateImpl.java index b71a045..d4222b7 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxImplicitSingleStateImpl.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxImplicitSingleStateImpl.java @@ -45,6 +45,8 @@ public class IgniteTxImplicitSingleStateImpl extends IgniteTxStateAdapter { assert cacheCtx == null : "Cache already set [cur=" + cacheCtx.name() + ", new=" + ctx.name() + ']'; this.cacheCtx = ctx; + + tx.activeCachesDeploymentEnabled(cacheCtx.deploymentEnabled()); } /** {@inheritDoc} */ http://git-wip-us.apache.org/repos/asf/ignite/blob/29b5b4aa/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxRemoteStateImpl.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxRemoteStateImpl.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxRemoteStateImpl.java index 2a61d11..98f3841 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxRemoteStateImpl.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxRemoteStateImpl.java @@ -88,8 +88,6 @@ public class IgniteTxRemoteStateImpl implements IgniteTxState { /** {@inheritDoc} */ @Override public boolean storeUsed(GridCacheSharedContext cctx) { - assert false; - return false; }