You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by dp...@apache.org on 2018/05/21 10:02:13 UTC

ignite git commit: IGNITE-8054 serialize only valuable part of GridLongList - Fixes #3748.

Repository: ignite
Updated Branches:
  refs/heads/master 381448ea7 -> d0e26bebb


IGNITE-8054 serialize only valuable part of GridLongList - Fixes #3748.

Signed-off-by: dpavlov <dp...@apache.org>


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

Branch: refs/heads/master
Commit: d0e26bebb42efb8bb49ef7c802fe086b06473c48
Parents: 381448e
Author: Alexander Menshikov <sh...@gmail.com>
Authored: Mon May 21 13:01:47 2018 +0300
Committer: dpavlov <dp...@apache.org>
Committed: Mon May 21 13:01:47 2018 +0300

----------------------------------------------------------------------
 .../main/java/org/apache/ignite/internal/util/GridLongList.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/d0e26beb/modules/core/src/main/java/org/apache/ignite/internal/util/GridLongList.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/GridLongList.java b/modules/core/src/main/java/org/apache/ignite/internal/util/GridLongList.java
index 09fb098..d1f20e6 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/GridLongList.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/GridLongList.java
@@ -530,7 +530,7 @@ public class GridLongList implements Message, Externalizable {
 
         switch (writer.state()) {
             case 0:
-                if (!writer.writeLongArray("arr", arr))
+                if (!writer.writeLongArray("arr", arr, idx))
                     return false;
 
                 writer.incrementState();