diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2018-01-24 15:18:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-24 15:18:27 +0100 |
commit | 8c6cba39fa75a4078e458f9ffbb96699067fcc84 (patch) | |
tree | cd6a4186941c81169d927f9378116ef385fab65d /config-model/src | |
parent | 36a900384e6c852684857debc6e9e2636b628354 (diff) | |
parent | c18d71a84fb27048d16bb5fb995d42c2ff88b4ff (diff) |
Merge pull request #4754 from vespa-engine/hmusum/disable-start-download-on-other-config-servers
Disable notifying other config servers to start download
Diffstat (limited to 'config-model/src')
-rw-r--r-- | config-model/src/main/java/com/yahoo/vespa/model/filedistribution/FileDistributor.java | 3 |
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()); |