Skip to content

Commit

Permalink
File stabilization
Browse files Browse the repository at this point in the history
  • Loading branch information
sghike committed Apr 29, 2012
1 parent a4c024a commit c55184e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mp2/Node_server.cpp
Expand Up @@ -352,9 +352,11 @@ class NodeHandler : virtual public NodeIf {
if (me->predecessor != n) {
me->predecessor = n;
cout << "node= " << me->id << ": updated predecessor= " << n.id << endl;
me->moveFilesToPred();
}
}
if (me->predecessor.id != -1) {
me->moveFilesToPred();
}
}

void get_table(node_table& _return, const int32_t id) {
Expand Down

0 comments on commit c55184e

Please sign in to comment.