Skip to content

Commit

Permalink
Remove HostRenamer
Browse files Browse the repository at this point in the history
  • Loading branch information
freva committed Dec 4, 2024
1 parent 2cb782f commit b107293
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 258 deletions.
8 changes: 0 additions & 8 deletions flags/src/main/java/com/yahoo/vespa/flags/Flags.java
Original file line number Diff line number Diff line change
Expand Up @@ -462,14 +462,6 @@ public class Flags {
"Whether to sync companies to HubSpot",
"Takes effect immediately");

public static final UnboundStringFlag HOSTNAME_SCHEME = defineStringFlag(
"hostname-scheme", "legacy",
List.of("mpolden"), "2024-08-07", "2025-01-15",
"The hostname scheme to use when provisioning hosts. Must be 'legacy' or 'standard",
"Takes effect immediately",
(value) -> "legacy".equals(value) || "standard".equals(value),
TENANT_ID, APPLICATION, INSTANCE_ID);

public static final UnboundBooleanFlag SNAPSHOTS_ENABLED = defineFeatureFlag(
"snapshots-enabled", false,
List.of("mpolden"), "2024-10-22", "2025-01-10",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ public NodeRepositoryMaintenance(NodeRepository nodeRepository, Deployer deploye
maintainers.add(new ScalingSuggestionsMaintainer(nodeRepository, defaults.scalingSuggestionsInterval, metric));
maintainers.add(new SwitchRebalancer(nodeRepository, defaults.switchRebalancerInterval, metric, deployer));
maintainers.add(new DeprovisionedExpirer(nodeRepository, defaults.deprovisionedExpiry, metric));
maintainers.add(new HostRenamer(nodeRepository, defaults.hostRenamerInterval, metric));
maintainers.add(new SnapshotExpirer(nodeRepository, defaults.snapshotExpirerInterval, metric));

provisionServiceProvider.getLoadBalancerService()
Expand Down Expand Up @@ -130,7 +129,6 @@ private static class DefaultTimes {
private final Duration hostRetirerInterval;
private final Duration hostFlavorUpgraderInterval;
private final Duration deprovisionedExpiry;
private final Duration hostRenamerInterval;
private final Duration snapshotExpirerInterval;

private final NodeFailer.ThrottlePolicy throttlePolicy;
Expand Down Expand Up @@ -172,7 +170,6 @@ private static class DefaultTimes {
hostFlavorUpgraderInterval = Duration.ofHours(1);
// CD, test and staging (de)provisions hosts frequently. Expire deprovisioned ones earlier
deprovisionedExpiry = (isCdZone || isTest) ? Duration.ofDays(3) : Duration.ofDays(30);
hostRenamerInterval = Duration.ofMinutes(5);
snapshotExpirerInterval = Duration.ofHours(1);

if (isProduction && ! isCdZone) {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
{
"name": "FailedExpirer"
},
{
"name": "HostRenamer"
},
{
"name": "InactiveExpirer"
},
Expand Down

0 comments on commit b107293

Please sign in to comment.