You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@giraph.apache.org by cl...@apache.org on 2013/06/12 19:59:59 UTC

git commit: updated refs/heads/trunk to 0d358c9

Updated Branches:
  refs/heads/trunk 7fb9b5f3a -> 0d358c9d5


GIRAPH-686: DiskBackedPartitionStore does not saveVertex after edges are loaded


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

Branch: refs/heads/trunk
Commit: 0d358c9d5e59351a55462e860befd6b6a3dbe535
Parents: 7fb9b5f
Author: Claudio Martella <cl...@apache.org>
Authored: Wed Jun 12 19:59:20 2013 +0200
Committer: Claudio Martella <cl...@apache.org>
Committed: Wed Jun 12 19:59:20 2013 +0200

----------------------------------------------------------------------
 CHANGELOG                                                         | 3 +++
 .../org/apache/giraph/partition/DiskBackedPartitionStore.java     | 1 +
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/giraph/blob/0d358c9d/CHANGELOG
----------------------------------------------------------------------
diff --git a/CHANGELOG b/CHANGELOG
index f929feb..50d411a 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,9 @@
 Giraph Change Log
 
 Release 1.1.0 - unreleased
+  GIRAPH-686: DiskBackedPartitionStore does not saveVertex after edges 
+  are loaded (claudio)
+
   GIRAPH-681: Graphviz Output Format (nitay)
 
   GIRAPH-468: Make Vertex an Interface (nitay)

http://git-wip-us.apache.org/repos/asf/giraph/blob/0d358c9d/giraph-core/src/main/java/org/apache/giraph/partition/DiskBackedPartitionStore.java
----------------------------------------------------------------------
diff --git a/giraph-core/src/main/java/org/apache/giraph/partition/DiskBackedPartitionStore.java b/giraph-core/src/main/java/org/apache/giraph/partition/DiskBackedPartitionStore.java
index 0595897..dbfb791 100644
--- a/giraph-core/src/main/java/org/apache/giraph/partition/DiskBackedPartitionStore.java
+++ b/giraph-core/src/main/java/org/apache/giraph/partition/DiskBackedPartitionStore.java
@@ -425,6 +425,7 @@ public class DiskBackedPartitionStore<I extends WritableComparable,
     id.readFields(in);
     Vertex<I, V, E> v = partition.getVertex(id);
     ((OutEdges<I, E>) v.getEdges()).readFields(in);
+    partition.saveVertex(v);
   }