aboutsummaryrefslogtreecommitdiffstats
path: root/configserver
diff options
context:
space:
mode:
authorHarald Musum <musum@yahooinc.com>2023-10-31 09:02:46 +0100
committerHarald Musum <musum@yahooinc.com>2023-10-31 09:02:46 +0100
commit430580ba6301391f64bc3180edcd95bcfee97236 (patch)
tree6ab93f8425b2eb64e0653540afd1ff3e590ee18b /configserver
parenta7f9edbb6c309b85f28543cc0e58aeec1083c31d (diff)
Don't delete session if activation fails
Activation fails from other causes than something being wrong with the application (preparing the application was usually successful), so it should be possible to retry with the same session.
Diffstat (limited to 'configserver')
-rw-r--r--configserver/src/main/java/com/yahoo/vespa/config/server/deploy/Deployment.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/configserver/src/main/java/com/yahoo/vespa/config/server/deploy/Deployment.java b/configserver/src/main/java/com/yahoo/vespa/config/server/deploy/Deployment.java
index 9c7e018545f..d2ed2609490 100644
--- a/configserver/src/main/java/com/yahoo/vespa/config/server/deploy/Deployment.java
+++ b/configserver/src/main/java/com/yahoo/vespa/config/server/deploy/Deployment.java
@@ -137,7 +137,6 @@ public class Deployment implements com.yahoo.config.provision.Deployment {
waitForActivation(applicationId, timeoutBudget, activation);
} catch (Exception e) {
log.log(Level.FINE, "Activating session " + session.getSessionId() + " failed, deleting it");
- deleteSession();
throw e;
}