disabling full sync, as its functionality is redundant

reviewed-by: kishan
This commit is contained in:
abhi 2012-02-06 13:07:44 +05:30
parent ff3ea9356c
commit a927eafc72
1 changed files with 1 additions and 9 deletions

View File

@ -6631,15 +6631,7 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe
return new Answer(cmd);
}
HashMap<String, Pair<String, State>> newStates = deltaClusterSync(conn);
cmd.incrStep();
if (cmd.isRightStep()){
// do full sync
HashMap<String, Pair<String, State>> allStates=fullClusterSync(conn);
return new ClusterSyncAnswer(cmd.getClusterId(), newStates, allStates);
}
else {
return new ClusterSyncAnswer(cmd.getClusterId(), newStates);
}
return new ClusterSyncAnswer(cmd.getClusterId(), newStates);
}
protected HashMap<String, Pair<String, State>> fullClusterSync(Connection conn) {