summaryrefslogtreecommitdiffstats
path: root/config-model
diff options
context:
space:
mode:
authorHarald Musum <musum@oath.com>2018-01-23 13:13:42 +0100
committerHarald Musum <musum@oath.com>2018-01-23 13:13:42 +0100
commitc18d71a84fb27048d16bb5fb995d42c2ff88b4ff (patch)
treedce319d802ddcbf73692ff793d15b5edf25bf31b /config-model
parentee0e0572a99d75f4222eb7303771ebbf637d6749 (diff)
Disable notifying other config servers to start download
Wiring is missing on config servers to accept request
Diffstat (limited to 'config-model')
-rw-r--r--config-model/src/main/java/com/yahoo/vespa/model/filedistribution/FileDistributor.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/filedistribution/FileDistributor.java b/config-model/src/main/java/com/yahoo/vespa/model/filedistribution/FileDistributor.java
index 7bd0b9c2831..213451da55e 100644
--- a/config-model/src/main/java/com/yahoo/vespa/model/filedistribution/FileDistributor.java
+++ b/config-model/src/main/java/com/yahoo/vespa/model/filedistribution/FileDistributor.java
@@ -104,10 +104,13 @@ public class FileDistributor {
}
}
// Ask other config server to download, for redundancy
+ // TODO: Enable the below when config server is able to receive files properly
+ /*
if (configServerSpecs != null)
configServerSpecs.stream()
.filter(configServerSpec -> !configServerSpec.getHostName().equals(fileSourceHost))
.forEach(spec -> dbHandler.startDownload(spec.getHostName(), spec.getConfigServerPort(), allFilesToSend()));
+ */
dbHandler.sendDeployedFiles(fileSourceHost, allFilesToSend());
dbHandler.removeDeploymentsThatHaveDifferentApplicationId(getTargetHostnames());