You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ag...@apache.org on 2015/11/20 13:37:35 UTC

[1/2] ignite git commit: IGNITE-1282 - Fixed tests after merge from ignite-1.5

Repository: ignite
Updated Branches:
  refs/heads/ignite-1282 f37863a43 -> a28649e0d


IGNITE-1282 - Fixed tests after merge from ignite-1.5


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

Branch: refs/heads/ignite-1282
Commit: 0410f0e596390ee28a1f1535e63030442c557988
Parents: 6d4ecfd
Author: Alexey Goncharuk <al...@gmail.com>
Authored: Fri Nov 20 15:34:57 2015 +0300
Committer: Alexey Goncharuk <al...@gmail.com>
Committed: Fri Nov 20 15:34:57 2015 +0300

----------------------------------------------------------------------
 .../distributed/dht/GridPartitionedSingleGetFuture.java      | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/0410f0e5/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridPartitionedSingleGetFuture.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridPartitionedSingleGetFuture.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridPartitionedSingleGetFuture.java
index 32f4e80..f276cac 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridPartitionedSingleGetFuture.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridPartitionedSingleGetFuture.java
@@ -49,7 +49,6 @@ import org.apache.ignite.internal.util.typedef.CI1;
 import org.apache.ignite.internal.util.typedef.CIX1;
 import org.apache.ignite.internal.util.typedef.F;
 import org.apache.ignite.internal.util.typedef.T2;
-import org.apache.ignite.internal.util.typedef.internal.CU;
 import org.apache.ignite.internal.util.typedef.internal.S;
 import org.apache.ignite.internal.util.typedef.internal.U;
 import org.apache.ignite.lang.IgniteProductVersion;
@@ -448,7 +447,7 @@ public class GridPartitionedSingleGetFuture extends GridFutureAdapter<Object> im
      * @param nodeId Node ID.
      * @param res Result.
      */
-    public void onResult(UUID nodeId, GridNearGetResponse res) {
+    @Override public void onResult(UUID nodeId, GridNearGetResponse res) {
         if (!processResponse(nodeId) ||
             !checkError(res.error(), !F.isEmpty(res.invalidPartitions()), res.topologyVersion()))
             return;
@@ -581,10 +580,7 @@ public class GridPartitionedSingleGetFuture extends GridFutureAdapter<Object> im
                 }
                 else {
                     if (!keepCacheObjects) {
-                        Object res = CU.value(val, cctx, true);
-
-                        if (deserializePortable && !skipVals)
-                            res = cctx.unwrapPortableIfNeeded(res, false);
+                        Object res = cctx.unwrapPortableIfNeeded(val, !deserializePortable && !skipVals);
 
                         onDone(res);
                     }


[2/2] ignite git commit: Merge branch 'ignite-1282' of https://git-wip-us.apache.org/repos/asf/ignite into ignite-1282

Posted by ag...@apache.org.
Merge branch 'ignite-1282' of https://git-wip-us.apache.org/repos/asf/ignite into ignite-1282


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

Branch: refs/heads/ignite-1282
Commit: a28649e0d5aa15af82678a67590f0ee238012284
Parents: 0410f0e f37863a
Author: Alexey Goncharuk <al...@gmail.com>
Authored: Fri Nov 20 15:37:13 2015 +0300
Committer: Alexey Goncharuk <al...@gmail.com>
Committed: Fri Nov 20 15:37:13 2015 +0300

----------------------------------------------------------------------
 .../internal/portable/BinaryReaderExImpl.java   | 65 ++++++++++++--------
 .../portable/PortableClassDescriptor.java       | 16 +++++
 .../platform/cache/PlatformCache.java           |  9 ++-
 .../Cache/CacheTestAsyncWrapper.cs              |  1 -
 .../Cache/Query/CacheQueriesTest.cs             |  2 -
 .../Apache.Ignite.Core/Cache/Query/ScanQuery.cs | 14 +----
 .../Impl/Cache/CacheEntryFilterHolder.cs        | 15 -----
 .../Apache.Ignite.Core/Impl/Cache/CacheImpl.cs  | 15 +----
 .../Impl/Unmanaged/UnmanagedCallbacks.cs        |  2 +-
 9 files changed, 62 insertions(+), 77 deletions(-)
----------------------------------------------------------------------