diff options
author | Harald Musum <musum@yahooinc.com> | 2023-10-31 09:02:46 +0100 |
---|---|---|
committer | Harald Musum <musum@yahooinc.com> | 2023-10-31 09:02:46 +0100 |
commit | 430580ba6301391f64bc3180edcd95bcfee97236 (patch) | |
tree | 6ab93f8425b2eb64e0653540afd1ff3e590ee18b /configserver | |
parent | a7f9edbb6c309b85f28543cc0e58aeec1083c31d (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.java | 1 |
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; } |