diff options
author | Martin Polden <mpolden@mpolden.no> | 2024-04-11 14:05:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-11 14:05:47 +0200 |
commit | 1d8cd8366c4d918459f2df1c873eb2206f1c1e11 (patch) | |
tree | f461958f45b0ec11931563849810c2092b0691b7 /node-repository/src/main | |
parent | 80a99f18d8dee42451d09ccafe7af19c510e53f8 (diff) | |
parent | faa3d225338959703b32b47cf8eae3e8231e66e6 (diff) |
Merge pull request #30881 from vespa-engine/olaa/stop-writing-suggestion
Stop writing cluster suggestion
Diffstat (limited to 'node-repository/src/main')
-rw-r--r-- | node-repository/src/main/java/com/yahoo/vespa/hosted/provision/persistence/ApplicationSerializer.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/persistence/ApplicationSerializer.java b/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/persistence/ApplicationSerializer.java index 1315207efb8..0c3a1df0f27 100644 --- a/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/persistence/ApplicationSerializer.java +++ b/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/persistence/ApplicationSerializer.java @@ -56,7 +56,6 @@ public class ApplicationSerializer { private static final String maxResourcesKey = "max"; private static final String groupSizeKey = "groupSize"; private static final String requiredKey = "required"; - private static final String suggestedKey = "suggested"; private static final String suggestionsKey = "suggestionsKey"; private static final String clusterInfoKey = "clusterInfo"; private static final String bcpDeadlineKey = "bcpDeadline"; @@ -141,8 +140,6 @@ public class ApplicationSerializer { toSlime(cluster.maxResources(), clusterObject.setObject(maxResourcesKey)); toSlime(cluster.groupSize(), clusterObject.setObject(groupSizeKey)); clusterObject.setBool(requiredKey, cluster.required()); - // TODO(olaa): Remove 'suggested' once all configservers have stopped reading entry - toSlime(Autoscaling.empty(), clusterObject.setObject(suggestedKey)); toSlime(cluster.suggestions(), clusterObject.setArray(suggestionsKey)); toSlime(cluster.target(), clusterObject.setObject(targetKey)); if (! cluster.clusterInfo().isEmpty()) |