summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Musum <musum@verizonmedia.com>2020-09-16 15:29:03 +0200
committerHarald Musum <musum@verizonmedia.com>2020-09-16 15:29:03 +0200
commitacc3d54710c128616e1b50bb50f2d93f5fb45f38 (patch)
tree7101a4612c2a1b01051aff1cfcf0c0a9e6a54674
parent14ff7194bf46c5d56faabcf0a26d7606b3d0c927 (diff)
Revert unintended changes
-rw-r--r--configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java b/configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java
index 59b9c549319..3564a6e6da7 100644
--- a/configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java
+++ b/configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java
@@ -379,7 +379,6 @@ public class ApplicationRepository implements com.yahoo.config.provision.Deploye
SessionRepository sessionRepository = tenant.getSessionRepository();
LocalSession newSession = sessionRepository.createSessionFromExisting(activeSession, logger, true, timeoutBudget);
sessionRepository.addLocalSession(newSession);
- sessionRepository.createRemoteSession(newSession.getSessionId());
return Optional.of(Deployment.unprepared(newSession, this, hostProvisioner, tenant, timeout, clock,
false /* don't validate as this is already deployed */, bootstrap));
@@ -828,7 +827,6 @@ public class ApplicationRepository implements com.yahoo.config.provision.Deploye
timeoutBudget,
activeSessionId);
tenant.getSessionRepository().addLocalSession(session);
- tenant.getSessionRepository().createRemoteSession(session.getSessionId());
return session.getSessionId();
}