diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2019-11-07 12:30:20 +0100 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2019-11-07 12:30:20 +0100 |
commit | 6337fb0bcac006f321cae8689680eadc5977c4a4 (patch) | |
tree | d09a1a4676e894b7f404baee8f98697e1c4d1994 /controller-server | |
parent | e072011cd0850d634aa9ca9e58c6bff9d3301b6e (diff) |
Delete job data for instances immediately when they are deleted
Diffstat (limited to 'controller-server')
-rw-r--r-- | controller-server/src/main/java/com/yahoo/vespa/hosted/controller/ApplicationController.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/ApplicationController.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/ApplicationController.java index 71cfc679ca7..881e793b0b3 100644 --- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/ApplicationController.java +++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/ApplicationController.java @@ -800,6 +800,7 @@ public class ApplicationController { }); }); curator.writeApplication(application.without(instanceId.instance()).get()); + controller.jobController().collectGarbage(); log.info("Deleted " + instanceId); }); |