diff options
author | Harald Musum <musum@oath.com> | 2018-01-31 08:49:27 +0100 |
---|---|---|
committer | Harald Musum <musum@oath.com> | 2018-01-31 08:49:27 +0100 |
commit | 50b455e79aeab506964789e1b16752d5d7be2fcc (patch) | |
tree | 690815caa6c304cb022c865f89c7995c3092069d /config-model/src | |
parent | 7923c31a91388782f6f6b169358a6cecdf63d2fc (diff) |
Tell other config servers to download file reference
Diffstat (limited to 'config-model/src')
-rw-r--r-- | config-model/src/main/java/com/yahoo/vespa/model/filedistribution/FileDistributor.java | 5 |
1 files changed, 1 insertions, 4 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 e8d6a330358..ad27d86fb84 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 @@ -123,14 +123,11 @@ public class FileDistributor { dbHandler.startDownload(host.getHostname(), ConfigProxy.BASEPORT, filesToSendToHost(host)); } } - // Ask other config server to download, for redundancy - // TODO: Enable the below when config server is able to receive files properly - /* + // Ask other config servers to download, for redundancy 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()); |