aboutsummaryrefslogtreecommitdiffstats
path: root/configserver
diff options
context:
space:
mode:
authorHarald Musum <musum@yahooinc.com>2021-11-15 14:52:32 +0100
committerHarald Musum <musum@yahooinc.com>2021-11-15 14:52:32 +0100
commit672ad4413047c277e06adee1a408f10bbc50b5d6 (patch)
tree331a717fdbdfd0b25922d64b1f146ba8e1d82631 /configserver
parent3db0193e1998ef5ed3f176c4f46cc4c4c08f9000 (diff)
Remove unused method
RPC method filedistribution.setFileReferencesToDownload is only used between config servers, remove config proxy implementation
Diffstat (limited to 'configserver')
-rw-r--r--configserver/src/main/java/com/yahoo/vespa/config/server/filedistribution/FileDistributionImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/configserver/src/main/java/com/yahoo/vespa/config/server/filedistribution/FileDistributionImpl.java b/configserver/src/main/java/com/yahoo/vespa/config/server/filedistribution/FileDistributionImpl.java
index a49e2ec76bb..605f5924e68 100644
--- a/configserver/src/main/java/com/yahoo/vespa/config/server/filedistribution/FileDistributionImpl.java
+++ b/configserver/src/main/java/com/yahoo/vespa/config/server/filedistribution/FileDistributionImpl.java
@@ -41,8 +41,8 @@ public class FileDistributionImpl implements FileDistribution, RequestWaiter {
return fileReferencesDir;
}
- // Notifies config proxy which file references it should start downloading. It's OK if the call does not succeed,
- // as downloading will then start synchronously when a service requests a file reference instead
+ // Notifies client which file references it should start downloading. It's OK if the call does not succeed,
+ // as this is just a hint to the client to start downloading. Currently the only client is the config server
private void startDownloadingFileReferences(String hostName, int port, Set<FileReference> fileReferences) {
Target target = supervisor.connect(new Spec(hostName, port));
Request request = new Request("filedistribution.setFileReferencesToDownload");