You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2016/12/05 12:38:35 UTC
[31/52] ignite git commit: ignite-4305 marshalling fix in
GridNearAtomicSingleUpdateInvokeRequest
ignite-4305 marshalling fix in GridNearAtomicSingleUpdateInvokeRequest
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/30b442e8
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/30b442e8
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/30b442e8
Branch: refs/heads/master
Commit: 30b442e871471ef08fbecf2dfb8423aaf8ff8f78
Parents: 2fccde7
Author: Konstantin Dudkov <kd...@ya.ru>
Authored: Fri Nov 25 16:30:16 2016 +0300
Committer: sboikov <sb...@gridgain.com>
Committed: Fri Nov 25 16:30:16 2016 +0300
----------------------------------------------------------------------
.../dht/atomic/GridNearAtomicSingleUpdateInvokeRequest.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/30b442e8/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicSingleUpdateInvokeRequest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicSingleUpdateInvokeRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicSingleUpdateInvokeRequest.java
index 42b51d6..f18a13c 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicSingleUpdateInvokeRequest.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicSingleUpdateInvokeRequest.java
@@ -202,8 +202,11 @@ public class GridNearAtomicSingleUpdateInvokeRequest extends GridNearAtomicSingl
if (!addDepInfo && ctx.deploymentEnabled())
addDepInfo = true;
- if (entryProcessor != null && entryProcessorBytes == null)
+ if (entryProcessor != null && entryProcessorBytes == null) {
+ prepareObject(entryProcessor, cctx);
+
entryProcessorBytes = CU.marshal(cctx, entryProcessor);
+ }
if (invokeArgsBytes == null)
invokeArgsBytes = marshalInvokeArguments(invokeArgs, cctx);