diff options
author | gjoranv <gv@verizonmedia.com> | 2022-08-31 14:10:48 +0200 |
---|---|---|
committer | gjoranv <gv@verizonmedia.com> | 2022-08-31 14:10:48 +0200 |
commit | 581adfacdb511725ae4867dc83b3d2987e7f7347 (patch) | |
tree | 7e5e5aa2ade0adafa3becfdbf8eef51ed48d88d5 /container-core | |
parent | 236bbd6745f7aba4ac0fddb6e8dbdd5b78963857 (diff) |
Revert "Add TODO for handling >2 generations of bundles."
This reverts commit 41b311dd2391e6d3d1566378ab120fa14424ed07.
Diffstat (limited to 'container-core')
-rw-r--r-- | container-core/src/main/java/com/yahoo/container/core/config/ApplicationBundleLoader.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/container-core/src/main/java/com/yahoo/container/core/config/ApplicationBundleLoader.java b/container-core/src/main/java/com/yahoo/container/core/config/ApplicationBundleLoader.java index 19c3577d978..1e30b19a48d 100644 --- a/container-core/src/main/java/com/yahoo/container/core/config/ApplicationBundleLoader.java +++ b/container-core/src/main/java/com/yahoo/container/core/config/ApplicationBundleLoader.java @@ -18,11 +18,8 @@ import java.util.logging.Logger; /** * Manages the set of installed and active/inactive bundles. * - * TODO: This class and the CollisionHook currently only handles a "current" and "previous" generation. - * In order to correctly handle rapid reconfiguration and hence multiple generations, we need to - * consider the graph generation number for each bundle. - * * @author gjoranv + * @author Tony Vaagenes */ public class ApplicationBundleLoader { @@ -120,7 +117,7 @@ public class ApplicationBundleLoader { } private Map<FileReference, Bundle> installWithFileDistribution(Set<FileReference> bundlesToInstall, - FileAcquirerBundleInstaller bundleInstaller) { + FileAcquirerBundleInstaller bundleInstaller) { var newBundles = new LinkedHashMap<FileReference, Bundle>(); for (FileReference reference : bundlesToInstall) { |