diff options
author | Harald Musum <musum@verizonmedia.com> | 2021-04-27 10:08:44 +0200 |
---|---|---|
committer | Harald Musum <musum@verizonmedia.com> | 2021-04-27 10:08:44 +0200 |
commit | 1474a930b38858bc814e14a11175b1787981bcfd (patch) | |
tree | b3a86a8ae5e4e4e5f16202335170f1f7086f6c0e /configserver | |
parent | 636e0b9c27c406e0b75a5c9e9d3da2af1d333b9d (diff) |
Change the way we switch connection when the current one is not working
Consider only healthy sources (if there are any) when switching to
a new one fue to failures.
Also log when connecting to a source
Diffstat (limited to 'configserver')
-rw-r--r-- | configserver/src/main/java/com/yahoo/vespa/config/server/filedistribution/FileDistributionUtil.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configserver/src/main/java/com/yahoo/vespa/config/server/filedistribution/FileDistributionUtil.java b/configserver/src/main/java/com/yahoo/vespa/config/server/filedistribution/FileDistributionUtil.java index 289a03db3e7..8dc9272b1b7 100644 --- a/configserver/src/main/java/com/yahoo/vespa/config/server/filedistribution/FileDistributionUtil.java +++ b/configserver/src/main/java/com/yahoo/vespa/config/server/filedistribution/FileDistributionUtil.java @@ -79,7 +79,7 @@ public class FileDistributionUtil { public Connection getCurrent() { return null; } @Override - public Connection setNewCurrentConnection() { return null; } + public Connection switchConnection() { return null; } @Override public int getSize() { return 0; } |