Skip to content

Commit

Permalink
0002210: You should be able to request an initial load from a server …
Browse files Browse the repository at this point in the history
…by setting the initial_load_enabled flag on the client node.
  • Loading branch information
chenson42 committed Feb 19, 2015
1 parent c39d6ae commit 747bdee
Showing 1 changed file with 11 additions and 5 deletions.
Expand Up @@ -269,11 +269,17 @@ && isLinked(nodeIdForRecordBeingRouted, nodeThatMayBeRoutedTo, rootNetworkedNode
nodeIds.remove(nodeIdForRecordBeingRouted);
}
}

/*
* The parent node never needs node_security updates.
*/
nodeIds.remove(columnValues.get("CREATED_AT_NODE_ID"));

boolean removeParentNode = true;
if (eventType == DataEventType.UPDATE) {
if ("1".equals(columnValues.get("INITIAL_LOAD_ENABLED")) &&
me.getNodeId().equals(nodeIdForRecordBeingRouted)) {
removeParentNode = false;
}
}
if (removeParentNode) {
nodeIds.remove(columnValues.get("CREATED_AT_NODE_ID"));
}

if (engine.getConfigurationService().isMasterToMaster()) {
/*
Expand Down

0 comments on commit 747bdee

Please sign in to comment.